Re: [WebSVN] SVN + WebSVN + LDAP setup question
Dirk Thomas <websvn <at> dirk-thomas.net>
2011-04-06 20:28:09 GMT
Hello,
> I am trying to find out what the best approach would be.
>
> We have different departments that need to use SVN for their projects. For example: Quality Assurance
would need its own SVN repository where they can host all their projects, Engineering would need a
> separate repo for their projects, IT its own repo as well and a public repo that everyone can access where
they can create projects for testing purposes (like new users learning how to use SVN).
>
> Now, each repo: QA, Eng, IT and Public would only be visible and accessible to those who have access to it.
>
> EX: If i am member of QA and i go to »svn.domain.com <http://svn.domain.com/>i would only see the QA repo
and the Public repo, if on the other hand i am IT i would see all the repos in the company.
>
> I would like to base all this using LDAP and so far i can grant access to ldap users and ldap groups, but i am not
sure how to accomplish the example above using WebSVN.
I suppose you have the SVN and LDAP acccess control already setup and running (if not you should ask further
question on the subversion mailing list instead).
> I was thinking of using <Direcoty> or <Location> in my vhost config, but I was wondering about any other ways…
Installing WebSVN should be straight forward.
If you are using a specific location or just drop the WebSVN sources in a regular folder in your htdocs makes
no difference.
Then you need a .htaccess file, which authenticates your valid users against your LDAP.
The WebSVN configuration should then just point to the same auth-file from SVN, where you grant the
different users/groups access to specific repositories/subfolders (which is already used by
mod_authz_svn).
Perhaps an older thread in this mailing list with the topic "Auth against Ldap howto?" might give you
additional information.
Dirk
------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2717461
To unsubscribe from this discussion, e-mail: [dev-unsubscribe <at> websvn.tigris.org].