From: <st...@en...> - 2007-03-20 18:35:54
|
It would be really nice to know if this actually works for anyone. =20 I've tried a bunch of times without success. I can't even get past the login screen. On Mar 19, 2007, at 9:32 AM, Thierry Hugue wrote: > Hello, > > I'm just starting to use phpESP. > It looks quite simple, and should really fit my needs... thanks! > > I'm running: > - phpESP v1.8.2, > - Apache/2.0.55 (Ubuntu) mod_ldap_userdir/1.1.8 PHP/5.1.6 > - MySQL 5.0.24a-Debian_9-log > > > I'm just having one issue that prevents me from moving it into > production: how to identify users (some surveys are private) with an > external LDAP database ? > > I modified the config file (phpESP.ini.php) to use ldap =20 > authentication > mechanism: > > // Choose authentication type: { 'default', 'ldap' } > $ESPCONFIG['auth_type'] =3D 'ldap'; > > // LDAP connection information > // (Set these values if you choose 'ldap' as the authentication type.) > $ESPCONFIG['ldap_server'] =3D 'ldap://ldap.mycompany.com'; > $ESPCONFIG['ldap_port'] =3D '389'; > $ESPCONFIG['ldap_dn'] =3D 'ou=3DPeople,o=3Dmycompany.com'; > $ESPCONFIG['ldap_filter'] =3D 'uid=3D'; > > but it does not work... > (I get the message: "[ Incorrect User ID or Password, or your account > has been disabled/expired. ]" in the survey login page... > > > What else do I need ? > > > I'm a little bit confused how the tool could make the link = between =20 > the > realm authorized for those private surveys and the user in the ldap > database ??? > > Moreover, when I look at the code, the function survey_auth from = file > espauth-ldap.inc does not seem to proceed with any ldap request at =20 > all, > but only use the table respondent_table from the local MySQL =20 > database... > > What am I missing there ? > > Thanks in advance for your help, > --=20 > Thierry > > =09 > > =09 > =09 > ______________________________________________________________________=20= > _____ > Yahoo! Mail r=E9invente le mail ! D=E9couvrez le nouveau Yahoo! Mail = et =20 > son interface r=E9volutionnaire. > http://fr.mail.yahoo.com > > > ----------------------------------------------------------------------=20= > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general |