Ticket #5324 (closed defect: invalid)

Opened 10 months ago

Last modified 10 months ago

SVN auth : passwd or htpasswd file ?

Reported by: postb99 Assigned to: pacopablo
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: svnserve
Cc: Trac Release: 0.11

Description

Hello,

Sorry for filling a ticket but this may be helpful for other people to read the whole thing here. When things will be clear, I think I will update the wiki if it is relevant.

I've setup Trac 0.11.4 with AccountManagerPlugin and am confused by the following : when using SVN integration, one must provide the path of a password file.

The following works, the password file contains cleartext passwords :

[account-manager]
password_file = C:\Repositories\svn\Redcats_Ecocat\conf\passwd
password_store = SessionStore,SvnServePasswordStore

The following does not works (MissingSectionHeaderError?: File contains no section headers), the password file contains md5 hashed passwords :

[account-manager]
password_file = C:\Repositories\htpasswd
password_store = SessionStore,SvnServePasswordStore

So I feel confused because the SVN server I use (either VisualSVN, or SVN + USVN) use the second file, while Trac successfully uses the first file. So this means 2 files to maintain, right ?

Is my issue related to some missing svnserve configuration ?

Thanks for some light.

Barbara

Attachments

Change History

06/04/09 10:27:42 changed by postb99

  • status changed from new to closed.
  • resolution set to invalid.

Closing this ticket as it is not a bug but a misunderstanding of SVN server working capabilities : either in svnserve mode (required by Trac, passwords in cleartext), or httpd mode (the way I have it setup). Refer to SVN book to have details :)


Add/Change #5324 (SVN auth : passwd or htpasswd file ?)




Change Properties
Action