SVN 配置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

 



除非申明,文章均为一号门原创,转载请注明本文地址,谢谢!
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 0 | 引用: 0 | 查看次数: -
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.