Dan McClain
Dan McClain

Reputation: 11920

Allow both Subversion based (passwd file) and Windows domain authentication

I have Subversion currently set up on Windows to authenticate against our domain controller via Apache. Is it possible to allow authentication against both the domain controller and the Subversion passwd file?

To accomplish this, would I have to have Apache for Windows authentication and also have svnserve run as a service and have that check against the passwd file?

Upvotes: 1

Views: 1119

Answers (2)

Stefan
Stefan

Reputation: 43575

You can tell Apache to provide basic authentication (using the passwd file) if the authentication against the domain controller fails.

Set the line

SSPIOfferBasic On

in your <Location> block in the Apache configuration file.

Upvotes: 4

Rajesh
Rajesh

Reputation: 6579

You want to apply mixed authentication. You can use the HTTP protocol via Apache for Windows authentication and use the SVN protocol via svnserve to authenticate against the passwd file.

You can use Stefan's solution, but that does not prevent you from clearly separating different classes of users.

Upvotes: 4

Related Questions