Configuring Subversion with AD

ConfiguringSubversion with AD

1.Install TortoiseSVN (SVNclient tool).

2.InstallCollabNetSubversion-server (SVN server tool, this tool integrates the Apache).

3. configuring

1Open the httpd.conf file(mine is located at C:\Program Files(x86)\CollabNet SubversionServer\httpd\conf\httpd.conf).

2Locate lines begin with “LoadModule …” ,At the bottom of the existing LoadModule lines, add the following threelines:

LoadModuleldap_module   modules/mod_ldap.so
LoadModule authnz_ldap_module  modules/mod_authnz_ldap.so
LoadModule authz_svn_module  modules/mod_authz_svn.so

Likethe following picture

(3)look for<Location /svn>, just substitute forthe following

DAVsvn

SVNParentPathC:/svn_repository

AuthzSVNAccessFileC:/svn_repository/access.txt

AuthzLDAPAuthoritativeoff

AuthTypeBasic

AuthBasicProviderldap

AuthName"app-sg-isi"

AuthLDAPBindDN"CN=suhandy,CN=Users,DC=app-sg-isi,DC=i-sprint,DC=com"

#AuthLDAPBindDN  "app-sg-isi\suhandy"

AuthLDAPBindPassword  "password"

AuthLDAPURL"ldap://192.168.1.8:389/CN=Users,DC=app-sg-isi,DC=i-sprint,DC=com?sAMAccountName?sub?(objectClass=*)"

Requirevalid-user

Likethe following picture

(4)Locate C:\svn_repository ,and new afolder”project1”point right button :TortoiseSVN->Create repositoryhere,



Choose“OK”

(5)Createa new file called “access.txt” where your repositories are located(mine isC:\svn_repository),for: to set up access for yourrepositories.

Likethe following picture:

6Open your Services management console, Start the services.

(7)importyour project into the repository

Enter the URL repository

Enter the AD username and password

success


上一篇: 微信、陌陌等著名 IM 软件设计架构详解
下一篇: 程序人生--我已经努力了七年

Avatar

summer 评论于: 2016-06-30

很不错的一篇文章。
 评论 ( What Do You Think )
名称
邮箱
网址
评论
验证
   
 

 

一号门极客CMS,由Python,Django,MySQL,Apache,Mod Wsgi 强力驱动.
鄂ICP备14001754号-3