[lug] Subversion user auth question

Matt Thompson thompsma at colorado.edu
Wed Jul 21 08:10:38 MDT 2004


On Tue, 2004-07-20 at 17:58, Hugh Brown wrote:
> On Tue, 2004-07-20 at 19:26, Michael J. Hammel wrote:
> > Is anyone here using Subversion?  I set it up on a box and can do
> > anonymous checkouts but my configuration for an authenticated user
> > doesn't seem to work.  I put the following in my passwd-db file:
> > 
> > [users]
> > name = passwd
> > 
> > (with appropriate name and passwd substituted).  I added the following
> > to my svnserve.conf file:
> > 
> > realm = XEUS
> > 
> > When I use the svn client to checkout files it doesn't query me for the
> > realm or any other authentication information.  Isn't it supposed to ask
> > for a realm and user/password the first time, then cache that for
> > subsequent requests?  Also, is the "name" any name I choose and one that
> > will be provided by the client in some way?  Does "name" include a host
> > name or wildcards?  The documentation doesn't talk about this in much
> > detail.
> 
> 
> I just set it up using the .htpasswd file and the authz configuration
> and got it working that way.  I'm using the Apache front-end, though. 
> I'd be happy to help with that configuration if you'd like.

I think I did much the same.  I set it up like the svn book says to with
htpasswd on svn-auth-file and then I require use of https:// a la:

http://pyre.third-bit.com/helium/subversion_linux.html

Of course, my piddling one-man repo probably doesn't need this (heck,
RCS is overkill for a lot of what I do), but it was a good learning
experience setting it up.  Happily, all my Apache trouble was taken care
of when I set up Squirrelmail.

Matt
-- 
Learning just means you were wrong and they were right. - Aram
   Matt Thompson -- http://ucsub.colorado.edu/~thompsma/
   440 UCB, Boulder, CO  80309-0440
   JILA A510, 303-492-4662
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20040721/4682d567/attachment.pgp>


More information about the LUG mailing list