SVN 配置AD 账号登陆的详细步骤
1.Install TortoiseSVN (SVNclient tool).
2.InstallCollabNetSubversion-server (SVN server tool, this tool integrates the Apache).
3. configuring
(1)Open the httpd.conf file(mine is located at C:\Program Files(x86)\CollabNet SubversionServer\httpd\conf\httpd.conf).
(2)Locate 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:
(6)Open your Services management console, Start the services.
(7)importyour project into the repository
Enter the URL repository:
Enter the AD username and password:
success:
From:一号门
Previous:芒果数据库MongoDB入门开胃菜,简单易学
COMMENTS