I am trying to configure my Subversion repositories to use a global groups file (coming from the output of LDAP Groups to Subversion Authz Groups Bridge script) in conjuction with the use of a per-repository authz file. For the moment I use svnserve, so my configuration file is svnserve.conf.
I would use the "groups-db" option but the svnserve.conf manual doesn't even list it, and there are very few web pages talking about it. Not really better for the AuthzSVNGroupsFile option within Apache. Since I find no ressource that addresses the issue, I am trying to get help from the community.
The problem:
Alone, the "groups-db" and the "authz-db" work perfectly well. But as soon as I enable both at the same time, I have an error from my SVN client: Invalid authz configuration
.
Here is an extract from my configuration file:
authz-db = authz
groups-db = ^/../groups_test.txt
Access rights on the files are defined so that svnserve can read them.
Even more weird: the problem exists even if the files are both empty!
From a mail archive of the SVN devs list I can read:
When the 'AuthzSVNGroupsFile' option is used, it is prohibited to define groups in the authz files.
OK but my files are empty for the moment :-)
The question:
Is it possible to use both files on a single repository? I suppose yes, but I can't get it to work.