You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by dhanushka ranasinghe <pa...@gmail.com> on 2012/05/02 15:38:49 UTC

svn authorization file with LDAP

Hi guys ....

i have svn auth file like following....

--------------------------

[groups]

group1=user1,user2

group2=user3,user4

[svn:/svn/repo1]
@group1 = rw

[wso2:/svn/repo2]
@group2 = rw


------------------



is there any way to provide LDAP groups in this auth files instated of
adding users it to manually

Thank You
Dhanushka

Re: svn authorization file with LDAP

Posted by Mark Phippard <ma...@gmail.com>.
On Wed, May 2, 2012 at 9:38 AM, dhanushka ranasinghe
<pa...@gmail.com> wrote:

> i have svn auth file like following....
>
> --------------------------
>
> [groups]
>
> group1=user1,user2
>
> group2=user3,user4
>
> [svn:/svn/repo1]
> @group1 = rw
>
> [wso2:/svn/repo2]
> @group2 = rw
>
>
> is there any way to provide LDAP groups in this auth files instated of
> adding users it to manually

You can automate it with a script that writes your LDAP groups into
the auth file.

http://www.thoughtspark.org/node/26

Subversion itself has no knowledge of LDAP so it cannot query it for
group memberships.  Apache handles authentication, and Subversion just
knows the username you authenticated with.


-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/