[httpauth] Web Server Authentication and OpenLDAP
gwarf
Joined: 2007-05-22
Posts: 2 |
Posted: Tue, 2007-05-22 15:01 |
Hi, Using the httpauth module, I'm trying to get Web Server authentication work against my OpenLDAP sever. <IfModule mod_rewrite.c> (...) </IfModule> AuthType basic AuthName "Access to gallery site" AuthBasicProvider ldap AuthLDAPBindDN cn=admin,ou=team,dc=example,dc=org AuthLDAPBindPassword ZeBigPassWord AuthLDAPURL ldap://ldap.training.example.org/dc=example,dc=org?uid?sub?(objectClass=inetOrgPerson) STARTTLS AuthLDAPGroupAttribute member AuthLDAPRemoteUserIsDN off require ldap-group ou=team,dc=example,dc=org In the auth form, I input my uid/pass (verified again the LDAP directory) and if the authentication succeed and if an user with the name equal to the LDAP uid exists in the Gallery database, I'm logged in. So I wonder what I did wrong or where is the bug/feature Perhaps is there a better/easier/cleaner way to do this ? (I think I did see someone posting about using a wrapper php-script, and G2 embed...) Thanks for any suggestions/comments. I'm using :
|
|
Posts: 9
Hi,
Did you ever get this working?
Thanks
Ricardo