SVN 配置AD 账号登陆的详细步骤

摘要: 搭建SVN 服务器,用LDAP 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

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

上一篇: 芒果数据库MongoDB入门开胃菜,简单易学
下一篇: elastic search 6 入门资料
 评论 ( What Do You Think )
名称
邮箱
网址
评论
验证
   
 

 


  • 微信公众号

  • 我的微信

站点声明:

1、一号门博客CMS,由Python, MySQL, Nginx, Wsgi 强力驱动

2、部分文章或者资源来源于互联网, 有时候很难判断是否侵权, 若有侵权, 请联系邮箱:summer@yihaomen.com, 同时欢迎大家注册用户,主动发布无版权争议的 文章/资源.

3、鄂ICP备14001754号-3, 鄂公网安备 42280202422812号