From: Thierry H. <t_...@ya...> - 2007-03-19 16:33:08
|
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'] = 'ldap'; // LDAP connection information // (Set these values if you choose 'ldap' as the authentication type.) $ESPCONFIG['ldap_server'] = 'ldap://ldap.mycompany.com'; $ESPCONFIG['ldap_port'] = '389'; $ESPCONFIG['ldap_dn'] = 'ou=People,o=mycompany.com'; $ESPCONFIG['ldap_filter'] = 'uid='; 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 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éinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com |
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 |
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! |
From: <st...@en...> - 2007-03-20 18:56:19
|
My apologies. I just got it to work. I for some reason had it in my head that uid needed to have a value =20 assigned. What would happen if I switched to ldap in a system that's been =20 running for a long while with default authentication? Anyway to =20 reassign all the old surveys and accounts? What, if anything, determines the superuser/root account with ldap? So you can't use ldap for respondent accts - I understand that, but =20 it looks as you can't manage groups or repspondents at all? On Mar 20, 2007, at 11:38 AM, Matthew wrote: > 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... =20 >> 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 =20 >> into >> > production: how to identify users (some surveys are private) =20 >> 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 =20 >> 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 =20 >> 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 =20= >> between >> > the >> > realm authorized for those private surveys and the user in the ldap >> > database ??? >> > >> > Moreover, when I look at the code, the function =20 >> 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 >> > >> > >> > >> > >> > >> > =20 >> _____________________________________________________________________=20= >> _ >> > _____ >> > Yahoo! Mail r=E9invente le mail ! D=E9couvrez le nouveau Yahoo! = Mail et >> > son interface r=E9volutionnaire. >> > http://fr.mail.yahoo.com >> > >> > >> > =20 >> ---------------------------------------------------------------------=20= >> - >> > --- >> > 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 =20 >> 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 >> >> >> ---------------------------------------------------------------------=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 >> > > > --=20 > D'oh! |
From: Matthew <mat...@gm...> - 2007-03-20 18:58:00
|
No not really with ldap enabled. On 3/20/07, st...@en... <st...@en...> wrote: > My apologies. I just got it to work. > > I for some reason had it in my head that uid needed to have a value > assigned. > > What would happen if I switched to ldap in a system that's been > running for a long while with default authentication? Anyway to > reassign all the old surveys and accounts? > > What, if anything, determines the superuser/root account with ldap? > > So you can't use ldap for respondent accts - I understand that, but > it looks as you can't manage groups or repspondents at all? > > On Mar 20, 2007, at 11:38 AM, Matthew wrote: > > > 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 > >> between > >> > 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 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 > >> > > > > > > -- > > D'oh! > > --=20 D'oh! |