How do I restrict Apache/SVN access to specific users (LDAP/file-based authentication)?

前端 未结 3 862
自闭症患者
自闭症患者 2020-12-28 23:58

I have Apache/SVN running on Windows Server 2003 with authentication via LDAP/Active Directory and a flat-file.

It\'s working great except that any LDAP use

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-29 00:03

    Another alternate method for anyone else who is interested:

    Require ldap-group cn=SVN Users,cn=Users,dc=company,dc=com
    

    This is assuming you created a group called SVN Users in Active directory. Notice that there are no double quotes around the group.

    Use that instead of Require valid-user

    Then you probably don't have to restart apache anytime you have any changes, just add the user to the group in AD

提交回复
热议问题