[Ilugc] help on svn authentication

  • From: y.jyothirao@xxxxxxxxx (jyothi)
  • Date: Tue Jul 15 13:45:18 2008

Hi,

I have svn setup and working fine for authentication with password file.
But I am not able to get it working with LDAP.  
Even if I give correct password, the prompt for password continues again and
again.  Kindly help me to know what I am missing.   Nothing is printed in the
apache error log also.  


The following are the configuration details in /etc/apache2/httpd.conf
<Directory  /var/www/svn>

# Enable Subversion
  DAV svn

# Directory containing all repository for this path
  SVNParentPath /absolute/path/to/directory/containing/your/repositories

# LDAP Authentication & Authorization is final; do not check other databases
AuthzLDAPAuthoritative off

# Do basic password authentication in the clear
  AuthType Basic

# The name of the protected area or "realm"
  AuthName "Your Subversion Repository"

# Active Directory requires an authenticating DN to access records
# This is the DN used to bind to the directory service
# This is an Active Directory user account
AuthLDAPBindDN "uid=user_name,ou=People,dc=bksys,dc=co,dc=in"

# This is the password for the AuthLDAPBindDN user in Active Directory
AuthLDAPBindPassword "user_password"


# The LDAP query URL
# Format: scheme://host:port/basedn?attribute?scope?filter
# The URL below will search for all objects recursively below the basedn
# and validate against the sAMAccountName attribute
AuthLDAPURL
"ldap://ldapIPaddress/ou=People,dc=bksys,dc=co,dc=in?uid?sub?(objectClass=*)"

# Require authentication for this Location
  Require valid-user

</Directory>


Thanks,
Jyothi


Other related posts: