Re: [viewvc-users] viewvc+svnauthz+apache=user not found
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 09/03/2010 07:35 AM, Sean Erswell-Liljefelt wrote: > If I comment out the auth section of the httpd.conf, viewvc rightly takes > me to the root with no permissions to see any repositories (obviously it > is reading my authz file successfully) > > If I uncomment again it rightly prompts me for user/password, but even if > I put in the correct user/password it just prompts again and the > following can be seen in the http error.log > > [Fri Sep 03 11:26:52 2010] [error] [client 10.57.27.23] user someuser not > found: / > > So it seems like it cannot read my passwd file correctly? > > Here is an anonymized version of that file jsut to show the formatting I > am using: > > ### Its format is similar to that of svnserve.conf. As shown in the ### > example below it contains one section labelled [users]. ### The name and > password for each user follow, one account per line. > > [users] > user1 = password > user2 = password > user3 = password > > Can anyone see the problem? the passwd file works fine for SVN. The problem is that ViewVC doesn't handle authentication -- only authorization. It's Apache that's doing the authentication. And Apache is expecting your password file to be an Apache htpasswd file, not a Subversion svnserve.conf file. You'll need to maintain a separate htpasswd file that shadows the names/passwords in your svnserve.conf file. -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2655196 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkyBDpAACgkQokEGqRcG/W4siACdG3LWpp/wUtIwOX90NjM2tnzZ PWIAoMR8pkCLitskMghWM56QMWNx/pne =TodQ -----END PGP SIGNATURE-----