LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   can't authenticate to ldap from apache using groups (https://www.linuxquestions.org/questions/linux-server-73/cant-authenticate-to-ldap-from-apache-using-groups-479478/)

rem1986 09-01-2006 11:56 AM

can't authenticate to ldap from apache using groups
 
I have installed mod_auth_ldap, and mod_ldap in my apache server to handle the authentication for a <Location> directive. In this case is specifically for a SVN server.

Quote:

<Location /repos>
DAV svn
SVNPath /mnt/hda6/scada/svn
AuthType Basic
AuthName "repositorio SCADA"
AuthLDAPURL "ldap://10.7.21.25:389/dc=uci,dc=cu?uid?"
# sub?(objectClass=posixAccount)"
# AuthLDAPGroupAttributeIsDN off
require group ou=Users,dc=uci,dc=cu
</Location>
I created an organizational unit called Users whose DN is: ou=Users,dc=uci,dc=cu. In it I created a user whose DN is cn=pepe,ou=Users,dc=uci,dc=cu. When I open my repository via a web client and I'm prompted for user and pass, I use the one belonging to this user but it doesn't authenticate, any ideas?

Thanks


All times are GMT -5. The time now is 03:09 PM.