Opened 10 years ago

Closed 10 years ago

#5324 closed defect (invalid)

SVN auth : passwd or htpasswd file ?

Reported by: Barbara Post Owned by: John Hampton
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: svnserve
Cc: Trac Release: 0.11



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 :

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 :

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.


Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Barbara Post

Resolution: invalid
Status: newclosed

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 :)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Hampton.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.