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

RE: Apache or svnserve?

From: Thorsten Schacht <thorstens_at_tcelectronic.com>
Date: 2005-11-29 15:40:48 CET

I'm not getting really further.

I configured mod_auth_svn.conf (see below).
What else needs to be done? I don't get the relations between the
configuration files.
Where can I say, that user xy is allowed to checkout /repos for example?

Thorsten

-----Original Message-----
From: Greg Thomas [mailto:thomasgd@omc.bt.co.uk]
Sent: Dienstag, 29. November 2005 14:21
To: Thorsten Schacht
Cc: users@subversion.tigris.org
Subject: Re: Apache or svnserve?

[Users list added back to CC: line, and jeopardy posting corrected]

On Tue, 29 Nov 2005 14:04:51 +0100, "Thorsten Schacht"
<thorstens@tcelectronic.com> wrote:

>>-----Original Message-----
>>From: Greg Thomas [mailto:thomasgd@omc.bt.co.uk]
>>
>>On Tue, 29 Nov 2005 13:14:52 +0100, "Thorsten Schacht"
>><thorstens@tcelectronic.com> wrote:
>>
>>>My plan is to use the Active Directory users through LDAP for working
>>>with Subversion.
>>>
>>>How exactly is it working and do I need to configure something like
>>>svn-auth-file and passwd?
>>
>>I have the (experimental in 2.0.x) mod_auth_ldap Apache module
>>authenicating against AD with no problems at all -
>>http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html
>>
>I have seen that but struggle a bit on the way it does the work.
>What files do I have to modify. On the apache side and on the svn side.

First, you'll need to get Apache configured to authenticate users
against your AD. The exact mechanism to do this will depend on your AD
layout, but you will need to specify

AuthzSVNAccessFile /file/wherever/access-file
Require valid-user

AuthType Basic
AuthName "Subversion repository"

AuthLDAPUrl ldap:://
AuthLDAPBindDN CN=...
AuthLDAPBindPassword changeme

in your relevant <Location> of your httpd.conf file. The AuthLDAP*
directives are detailed in the above Apache docs. The
AuthzSVNAccessFile directive should point to a configuration file as
documented at
http://svnbook.red-bean.com/en/1.0/ch06s04.html#svn-ch-6-sect-4.4.2

HTH,

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
Received on Tue Nov 29 15:55:09 2005

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.