[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: unable to authenticate to svnserve -- no challenge issued

From: Vivek Khera <khera_at_kcilink.com>
Date: 2004-03-09 18:40:51 CET

On Mar 9, 2004, at 12:17 PM, Ben Collins-Sussman wrote:

> On Tue, 2004-03-09 at 11:14, Vivek Khera wrote:
>
>> [users]
>> password-db = passwd
>
> Hm, where is the 'passwd' file? Does it help if you use an absolute
> path to the passwd file?

The passwd file is in the same directory as the conf file. I just
tried two variants: one with the full path /home/svn/repos/conf/passwd
and one with the path relative to the -r option: /conf/passwd (thinking
it may be chrooted).

Both resulted in the same exchange between client/server.

I did a ktrace on the server process, and I see it reads the conf file
fine, but it doesn't seem to ever try to read the passwd file between
the time it reads the conf file and when it issues the "no access
allowed" error:

  63500 svnserve CALL read(0xe,0x8068000,0x2000)
  63500 svnserve GIO fd 14 read 171 bytes
        "### Visit http://subversion.tigris.org/ for more information.

         [general]
         auth-access = write
         anon-access = none

         [users]
         password-db = passwd
         realm = Khera Communications
        "
  63500 svnserve RET read 171/0xab
  63500 svnserve CALL read(0xe,0x8068000,0x2000)
  63500 svnserve GIO fd 14 read 0 bytes
        ""
  63500 svnserve RET read 0
  63500 svnserve CALL close(0xe)
  63500 svnserve RET close 0
  63500 svnserve CALL write(0x4,0x805b030,0x67)
  63500 svnserve GIO fd 4 wrote 103 bytes
        "( failure ( ( 170001 36:No access allowed to this repository
27:subver\
         sion/svnserve/serve.c 1029 ) ) ) "
  63500 svnserve RET write 103/0x67
  63500 svnserve CALL close(0x4)

Is there some way to check if something is missing from my svnserve
excutable that would make this fail? I didn't see a debug option to be
verbose to stderr or something like that.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 18:41:20 2004

This is an archived mail posted to the Subversion Users mailing list.