是否可以使用Active Directory(Server 2008 R2)来pipe理Debian(Wheezy)托pipe的颠覆回购的用户?
我已经尝试在Debian服务器上将Apache上托pipe的SVN链接到Windows服务器上的Active Directory。 我能够签出存储库,但是当我去提交我的更改时,我得到一个提交失败的授权失败(在Windows客户端上使用tortoisesvn,它甚至从来没有要求提交时的凭据)
我正在使用apache2 | 2.2.22-13 + deb7u1
下面的dav_svn.conf:
<Location /svn> DAV svn SVNParentPath /srv/repos/svn SVNListParentPath on AuthName "helloworld" AuthType basic AuthzLDAPAuthoritative off AuthBasicProvider ldap AuthLDAPURL ldap://192.168.1.10/dc=example,dc=com?sAMAccountName" NONE AuthLDAPBindDN "CN=subversion,OU=Users,DC=example,DC=com" AuthLDAPBindPassword "secret" Require ldap-group CN=svn,OU=groups,dc=example,dc=com </Location>
你的configuration是非常糟糕的 (我可以看到一些正确的string)。 从这里使用configuration作为良好的起点(它只错过Require valid-user从我的POV Require valid-user )
我需要在AuthLDAPURL中指定全局编录端口。 我得到它使用下面的configuration工作:
<Location /svn> DAV svn AuthType basic SVNParentPath /srv/repos/svn AuthName "helloworld" AuthBasicProvider ldap AuthLDAPURL "ldap://192.168.1.10:3268/dc=example,dc=com?sAMAccountName" NONE AuthLDAPBindDN "CN=subversion,CN=users,DC=example,DC=com" AuthLDAPBindPassword "secret" Require ldap-group CN=svn,OU=groups,DC=example,DC=com </Location>