On May 23, 6:11 am, Raina <[EMAIL PROTECTED]> wrote:
> Still unable to configure !!!
>
> On May 9, 3:58 pm, "Stephen Moretti" <[EMAIL PROTECTED]>
> wrote:
>
> > 2008/5/9 Raina <[EMAIL PROTECTED]>:
>
> > > I tried this one too(Just a trial)
>
> > > [EMAIL PROTECTED]:~$ sudo tracd -p 8080
> > > --auth=/home/vjs/repository,/home/vjs/
> > > repository/conf/passwd,My /home/vjs/repository
> > > Warning: invalid digest line in /home/vjs/repository/conf/passwd: ###
> > > This file is an example password file for svnserve.
> > > Warning: invalid digest line in /home/vjs/repository/conf/passwd: ###
> > > Its format is similar to that of svnserve.conf. As shown in the
> > > Warning: invalid digest line in /home/vjs/repository/conf/passwd: ###
> > > example below it contains one section labelled [users].
> > > Warning: invalid digest line in /home/vjs/repository/conf/passwd: ###
> > > The name and password for each user follow, one account per line.
> > > Warning: invalid digest line in /home/vjs/repository/conf/passwd:
> > > [users]
> > > Warning: invalid digest line in /home/vjs/repository/conf/passwd: #
> > > harry = <passwd> <--- Hiden the password myself.
..snip...
> > > Warning: found no users in realm: My
> > > Server starting in PID 4224.
> > > Serving on 0.0.0.0:8080 view athttp://127.0.0.1:8080
Hi,
You've been given countless suggestions as it is, but it's going to be
difficult to help you if you don't better explain where you're getting
stuck...
At any rate, just to summarize: You're using Trac 0.11, which you're
running with tracd, and you're serving an SVN repository with
svnserve. And you want to use the [users] section from your svnserve
configuration to authenticate Trac as well. Fine, the
AccountManagerPlugin supports that out of the box.
I'm going to assume that you already have some version of Trac 0.11
running, preferably 0.11rc1. I'm also assuming you have setuptools
installed. To install the AccountManagerPlugin simply run:
sudo easy_install http://trac-hacks.org/svn/accountmanagerplugin/trunk
Now, in your trac.ini add the following lines to the [components]
section:
acct_mgr.api.* = enabled
trac.web.auth.LoginModule = disabled
acct_mgr.web_ui.LoginModule = enabled
acct_mgr.svnserve.* = enabled
I would also recommend adding acct_mgr.web_ui.RegistrationModule =
enabled
Now create a section in your trac.ini called [account-manager] and
under it add:
password_store = SvnServePasswordStore
password_file = /home/vjs/repository/conf/passwd
Finally, start tracd like so:
sudo tracd -p 8080 /path/to/trac/environment
Assuming that you want to use port 8080, which seems to be the case.
Don't add anything for authentication, since the AccountManagerPlugin
is handling that now. If that still doesn't work for you, please to
try to explain the exact nature of the problem that you're stuck on.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---