You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Vijay Avarachen <va...@gmail.com> on 2004/08/11 16:02:43 UTC
LDAP for authentication
Hello,
I am trying to configure mod_dav_svn so that it uses
mod_auth_ldap/mod_ldap for authentication. Has anyone tried this
successfully? I have the following in my config so far and I do get
prompted for login and password but I can never authenticate:
<Location /repo>
DAV svn
SVNParentPath /repo
#Authentications
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "Subversion Repository"
AuthLDAPURL ldap://myldapserver:389?uid?sub?(objectClass=*)
Require valid-user
</LimitExcept>
</Location>
I am not sure if the problem is with the fact that the LDAP directory
is actually Active Directory LDAP or am I just using the wrong options
(?uid?sub). Any thoughts?
Thanks,
Vijay Avarachen
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: LDAP for authentication
Posted by Greg Thomas <th...@omc.bt.co.uk>.
On Wed, 11 Aug 2004 11:02:43 -0500, Vijay Avarachen
<va...@gmail.com> wrote:
> I am trying to configure mod_dav_svn so that it uses
>mod_auth_ldap/mod_ldap for authentication. Has anyone tried this
>successfully?
No, but I did have success with the module at
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_cache.html
which does much the same.
Greg
--
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: LDAP for authentication
Posted by Josh Kuo <jo...@prioritynetworks.net>.
Watch your apache log, usually in /var/log/httpd/access_log and
/var/log/httpd/error_log, it may tell you more.
For references, here is what I have to get my setup working. I am using
mod_ldap:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule ldap_module modules/mod_ldap.so
<Location /svn>
DAV svn
SVNParentPath /home/svn
SVNAutoversioning on
<LimitExcept GET PROPFIND OPTIONS REPORT>
SetHandler ldap-status
Order deny,allow
Allow from all
AuthLDAPEnabled on
AuthLDAPURL ldap://ldap.mydomain.com/dc=mydomain,dc=com
AuthLDAPAuthoritative on
require valid-user
AuthType Basic
AuthName "Subversion Read-only Repository"
</LimitExcept>
</Location>
--
Josh Kuo <jo...@prioritynetworks.net>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org