Wednesday, September 30, 2009

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]

2 comments:

Diego said...

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!.

jake george said...

ldap online training| ldap training| call us+919000444287 ...
http://www.21cssindia.com/courses/ldap-online-training-103.html
ఈ పేజీని అనువదించు
LDAP Online Training, LDAP training, LDAP course contents, LDAP , call us: +919000444287,dharani@21cssindia.com.
course contents, biztalk admin enquiry, ...Courses at 21st Century Software Solutions
Talend Online Training -Hyperion Online Training - IBM Unica Online Training -
Siteminder Online Training - SharePoint Online Training - Informatica Online Training
SalesForce Online Training - Many more… | Call Us +917386622889
Visit: http://www.21cssindia.com/courses.html