LDAP Authentication Error: auth_ldap authenticate: user <user>

Hi,

I keep getting this error when I try to log into SVN with Apache and
LDAP:

auth_ldap authenticate: user <user> authentication failed; URI /svn/
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:

<Location /svn/repos>
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
</Location>

I used AuthPAM_Enabled off because prior to this, I was getting the
same error message from PAM:

PAM: user <user> - not authenticated: Authentication failure

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.
suckmyfingerhard [ Mo, 07 April 2008 22:44 ] [ ID #1937196 ]
Webserver » alt.apache.configuration » LDAP Authentication Error: auth_ldap authenticate: user <user>

Vorheriges Thema: apache pid, can i use the domain's user?
Nächstes Thema: is there any way that without root config , the apache server starts