Subversion + LDAP read only and read write


Image via Wikipedia

Here follows the Apache configuration I found working to set a repository read-only and read-write permissions. Consider read-write permissions are given by adding a user to both read-allowed and write-allowed LDAP groups, while read-only permissions are given through the read-allowed LDAP group.


  AuthType basic
  AuthBasicProvider ldap
  AuthBasicAuthoritative On
  AuthName “SmartLab Directory Server”
  AuthLDAPURL ldap://ldap/ou=people,dc=smartlab,dc=net
  AuthLDAPGroupAttributeIsDN off
  AuthLDAPGroupAttribute memberUid
 
    Require ldap-group cn=read-allowed,ou=groups,dc=smartlab,dc=net
 
 
    Require ldap-group cn=write-allowed,ou=groups,dc=smartlab,dc=net
 

Reblog this post [with Zemanta]
Advertisements

One thought on “Subversion + LDAP read only and read write

  1. Hello. I'm a sys administrator.Used SVN and LDAP in my system but I can't configurate the read-only or read-and-write user. please tell me which configuration parameters for LDAP colocastes only group allowed to perform reading and writing another group to perform.Thanks for the helpme!.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s