Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Setting up mod_authz_svn with mod_auth_apple?

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)

Posted on Feb 28, 2013 11:54 AM

Reply
Question marked as Best reply

Posted on Feb 28, 2013 12:39 PM

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.

1 reply
Question marked as Best reply

Feb 28, 2013 12:39 PM in response to ananseKmensah

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.

Setting up mod_authz_svn with mod_auth_apple?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.