Modify

Opened 15 years ago

Closed 15 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

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 (0)

Change History (1)

comment:1 Changed 15 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
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.