IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

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

    asuncool@gmail.com(yihaomen)发表于 2015-05-06 22:12:48
    love 0

    ConfiguringSubversion with 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, 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:

    (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:



沪ICP备19023445号-2号
友情链接