<p>I try to migrate a Windows SVN Server to Linux.<br>
I have configured Apache to validate against AD for Useraccess so only AD Users can logon.<br>
Now i have to set permissions for repositories with authz files.<br>
When i set permission with AD username it works, but AD groups it doesn't.</p>

<p>The authz file looks like the following:</p>

<pre><code>[test:/]
user1=rw   #That works

[test2:/]
@usergroup=rw  #No access for the groupmembers
</code></pre>

<p>When I create groups inside the authz file and asign AD users, that internal group works fine, but i can't administer groups in 2 locations, there just to much changes made every day.</p>

<p>Has anyone an idea, how to use AD groups inside authz files?</p>

You can't automatically use AD groups inside the authz files.
A possibile solution could be writing a script that query the AD for the groups and their member users and writes the correct authz file, defining also the groups themselves.
The final output shuold be something like:
```
```
[groups]
usergroup = user1, user2, user3

[test:/]
user1 = rw

[test2:/]
usergroup = rw
```
```