mmalmeida
mmalmeida

Reputation: 1057

Can SVN authentication/authauthorization configurations be shared between svnserve and http DAV?

I have an SVN server configured with several repositories which were accessed via svnserve (protocol svn://). They all share the same passwd (and authz) files.

I've successfully configured DAV http (and https) access to the repository via apache. From the svn-book, authentication and authorization are configured via the files defined for AuthUserFile and AuthzSVNAccessFile.

This means, however, that you have to maintain two sets of authentication/authorization files, one for the svn:// protocol and the other for http://. Is it possible to use a single configuration for both protocols, so you don't risk having different rules/users/passwords configured?

Upvotes: 0

Views: 442

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97282

Short answer: No

Longer answer: at least user-files for svnserve and DAV are totally different (user = pass in plain text vs user:somehash), you can share Path-based authorization file

Upvotes: 1

Related Questions