我正在尝试使用活动目录设置 subversion apache 2.4.7 身份验证。我发现 authzldapauthoritative 在 Apache 2.4.x 中得到更多支持。以下是 Apache 配置,请告诉我配置 authzldapauthoritative 的替代语法。
<Location /testing>
# Uncomment this to enable the repository,
DAV svn
# Set this to the path to your repository
SVNPath /subversion/testing
AuthType basic
AuthBasicProvider ldap
AuthLDAPBindAuthoritative on
AuthLDAPURL "ldap://192.168.178.1/CN=MISC-User-IDs,DC=xtz,DC=com?sAMAccountName?sub?(objectClass=*)"
AuthName "Testing Repository"
AuthLDAPBindDN "[email protected]"
AuthLDAPBindPassword Read#123
Require ldap-group CN=subversiontesting,CN=MISC-Group-IDs,dc=xcd,dc=com
# <LimitExcept GET PROPFIND OPTIONS REPORT>
# require valid-user
# </LimitExcept>
</Location>