1 Reply Latest reply: Feb 28, 2013 12:39 PM by ananseKmensah
ananseKmensah Level 1 Level 1 (0 points)

I'm trying to implement path based access for SVN. Everything works fine if I use htpasswd to keep track of accounts. But I want to integrate with Open Directory so team members can easily change their password. However, mod_auth_apple doesn't seem to expose itself as an authn provided so authz_svn doesn't pickup that it could use it for authentication (I get a error in the apache logs saying "No Authn provider configured.").

 

I know Open Directory is available through ldap but mod_authn_ldap doesn't come with the stock Apache version installed on Mac OS X server. I'm assuming there's some way to get this to work if authz_svn is included in the stock distribution (but I may be giving Apple too much credit). Has anyone got this worrking without having to use a custom build of Apache?

 

Thanks,
kwasi


Mac OS X (10.6)
  • 1. Re: Setting up mod_authz_svn with mod_auth_apple?
    ananseKmensah Level 1 Level 1 (0 points)

    Found out how to do this after a couple days of monkeying around. I added the authn_file module and then also added AuthBasicAuthoritative off. This seems to force authentication but not fail when the AuthUserFile isn't specififed. It also passes the authentication information on to authz_svn so it can check acess control properly. I'm hoping someone who's more familiar with apache can properly explain why this works.