From: Matthew <mat...@gm...> - 2007-03-20 18:38:44
|
This request was related to using LDAP for survey respondent authorization, which isn't supported/implemented. LDAP auth. only works for the admin. interface. On 3/20/07, st...@en... <st...@en...> wrote: > It would be really nice to know if this actually works for anyone. > 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 > > 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 betwee= n > > 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 > > all, > > but only use the table respondent_table from the local MySQL > > database... > > > > What am I missing there ? > > > > Thanks in advance for your help, > > -- > > Thierry > > > > > > > > > > > > ______________________________________________________________________ > > _____ > > Yahoo! Mail r=E9invente le mail ! D=E9couvrez le nouveau Yahoo! Mail et > > son interface r=E9volutionnaire. > > http://fr.mail.yahoo.com > > > > > > ---------------------------------------------------------------------- > > --- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share your > > opinions on IT & business topics through brief surveys-and earn cash > > http://www.techsay.com/default.php? > > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV > > _______________________________________________ > > phpESP-general mailing list > > php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpesp-general > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general > --=20 D'oh! |