使用LDAP身份验证进行Subversion

时间:2010-10-08 07:12:37

标签: svn tortoisesvn ldap

我遇到了使用LDAP配置SVN的问题。

  • SVN版本:1.6.6
  • Apache版本:2.2
  • 我正在使用TortoiseSVN客户端访问存储库。

我已将SVN中的“mod_authz_svn.so”和“mod_dav_svn.so”复制到Apache安装的modules目录中。 Apache正常启动没有任何问题。

以下是我的配置文件。

<Location /svn>
    DAV svn
    SVNParentPath d:/repos
    SVNListParentPath On
    AuthzSVNAccessFile D:/repos/access.txt
    AuthzLDAPAuthoritative off
    AuthType Basic
    AuthBasicProvider ldap
    AuthName “ou.org”
    #AuthLDAPBindDN “CN=TROPHY,CN=Users,DC=vw,DC=vwg”
    AuthLDAPBindDN "DOMAIN\TROPHY"
    AuthLDAPBindPassword “SYPERB”

    AuthLDAPURL ldap://OU.ORG:389/CN=Users,DC=OU,DC=ORG?sAMAccountName?sub?(objectClass=Users)

    Require valid-user
</Location>

错误:200 OK

如果我从位置路径替换“/ svn”,我没有看到上述错误,但我无法对服务器进行身份验证。我注意到每次提供凭据时都会弹出登录提示。

我正在使用以下链接从TortoiseSVN访问存储库。

http://server.ou.org/repos/make/

1 个答案:

答案 0 :(得分:-3)

结帐Subversion Edge。这可能有所帮助。