[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Cannot authenticate against LDAP

From: Guido Anzuoni <ganzuoni_at_gmail.com>
Date: 2007-09-13 18:21:55 CEST

Mittal, Nitin (US - Mumbai) wrote:
> Hello,
>
> I am facing issues, trying to configure SVN authentication with LDAP.
> I have configured auth_ldap_module in httpd.conf of apache httpd 2.0
> My subversion client prompts me for username / password but
> authentication always fails.
> I am using ApacheDS as an LDAP server.
> Can somebody help me ?
>
> Here is the configuration that I have done in httpd.conf
>
> LoadModule ldap_module modules/util_ldap.so
> LoadModule auth_ldap_module modules/mod_auth_ldap.so
> <Location /repos1>
> DAV svn
> SVNPath C:/jumpstart/server/SVNRepository
> AuthType Basic
> AuthName "svnauthority"
> SVNAutoversioning on
> AuthLDAPURL ldap://10.12.88.161:10389/OU=system
> AuthLDAPBindDN "uid=admin,ou=system"
> AuthLDAPBindPassword "secret"
> Require valid-user
> </Location>
>
> Here is the error log of httpd..
>
> [Thu Sep 13 16:44:43 2007] [notice] LDAP: Built with Microsoft LDAP SDK
> [Thu Sep 13 16:44:43 2007] [notice] LDAP: SSL support available
> [Thu Sep 13 16:44:43 2007] [notice] Apache/2.0.59 (Win32) SVN/1.4.5
> DAV/2 configured -- resuming normal operations
> [Thu Sep 13 16:44:43 2007] [notice] Server built: Jul 27 2006 15:55:03
> [Thu Sep 13 16:44:43 2007] [notice] Parent: Created child process 600
> [Thu Sep 13 16:44:43 2007] [notice] LDAP: Built with Microsoft LDAP SDK
> [Thu Sep 13 16:44:43 2007] [notice] LDAP: SSL support available
> [Thu Sep 13 16:44:43 2007] [notice] Child 600: Child process is running
> [Thu Sep 13 16:44:43 2007] [notice] Child 600: Acquired the start mutex.
> [Thu Sep 13 16:44:43 2007] [notice] Child 600: Starting 250 worker threads.
> [Thu Sep 13 16:45:00 2007] [warn] [client 10.12.88.161] [600] auth_ldap
> authenticate: user dev88 authentication failed; URI /repos1 [LDAP:
> ldap_simple_bind_s() failed][Unavailable]
>
>
>
> *thanks,*
> *Nitin Mittal*
> Technology Integration
> Deloitte Consulting Offshore Technology Group
> Tel: +91 22 6644-5745 (Direct)
> Tel: +91 9323624353 (Mobile)
> Tel: +91 22 6644-5000 (Main)
>
>
>
> This message (including any attachments) contains confidential
> information intended for a specific individual and purpose, and is
> protected by law. If you are not the intended recipient, you should
> delete this message.
>
> Any disclosure, copying, or distribution of this message, or the taking
> of any action based on it, is strictly prohibited. [v.E.1]
I have these directives set too in the Location scope:

AuthLDAPEnabled on

AuthLDAPRemoteUserIsDN off

Guido

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 13 18:32:07 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.