颠覆AD配置

时间:2017-05-17 05:35:11

标签: svn active-directory

我在linux操作系统上安装了subversion,但我在Active Directory连接中没有成功。

行动步骤

OS:Centos 7

1-yum install subversion
2-svn --version 1.7.14
3-yum install mod_lab
4-yum install mod_dav_svn
5-cd /etc/httpd/conf.d/
6-vim subversion.conf
7-vi /var/www/svn/user
8-svnadmin create /var/www/svn/docs
9-chown -R apache.apache /var/www/svn/docs
10-chcon -R -t httpd_sys_content_t /var/www/svn/docs
11-chcon -R -t httpd_sys_rw_content_t /var/www/svn/docs
12-service httpd restart

/etc/httpd/conf.d/subversion.conf

<Location /svn>
DAV svn
SVNParentPath /var/www/svn
AuthzSVNAccessFile /var/www/svn/user
SVNListParentPath On
AuthLDAPBindAuthoritative off
AuthLDAPBindDN "CN=administrator,CN=Users,DC=xxxx,DC=com,DC=tr"
AURHLDAPURL "ldap://x.x.x.x:389/cn=user,=dc=xxxx,dc=com,dc=tr?sAMAccountName?sub?(objectClass=*)" NONE
AuthLDAPBindPassword "xxxxx"
AuthBasicProvider ldap
AuthType Basic
AuthName "xxxx"
AuthUserFile /etc/svn-auth-users
Require valid-user
</Location>


/var/www/svn/user

[/]
* = rw

[docs:/]
* = rw

由于我所做的操作,我无法连接到活跃的direktory用户

1 个答案:

答案 0 :(得分:0)

Httpd error_log:

alias = models.CharField(max_length=50)