LDAP Authentication Error: auth_ldap authenticate: user <user>
am 07.04.2008 22:44:58 von suckmyfingerhardHi,
I keep getting this error when I try to log into SVN with Apache and
LDAP:
auth_ldap authenticate: user
repos/myproject/ [User is not unique (search found two or more
matches)][No such object]
I am on Debian and using Apache 2.0, my apache2.conf is as follows:
DAV svn
SVNPath /home/jchan/svn/repos
#AuthzSVNAccessFile /etc/apache2/svnauthfile
AuthType Basic
AuthName "SVN Repository"
#AuthUserFile /etc/apache2/pwdtest
AuthLDAPEnabled on
AuthLDAPURL ldap://host:port/dc=company,dc=com
AuthLDAPAuthoritative On
AuthPAM_Enabled off
Require valid-user
I used AuthPAM_Enabled off because prior to this, I was getting the
same error message from PAM:
PAM: user
The same PAM message showed up for both users on the LDAP system and
dummy usernames and passwords I entered (ie. blah:blah), so I didn't
think it was hitting LDAP at all. At least now I know it is.
I found this thread: http://www.rudedog.org/pipermail/auth_ldap/2002-December/001 268.html
Where the poster is getting the same error message I am, except on his
setup authentication works the first time.
Please help.
Thanks.