[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CVS Login problem



On Sat, Apr 19, 2003 at 06:24:46PM +0200, Thomas Krennwallner wrote:
> There're 2 functions which cause this error printed:
> check_password() and switch_to_user() (both in server.c)
> 
> both error messages are triggered in an unsuccessful attempt to get the
> password from /etc/passwd (or whatever password authetication scheme you
> use) via getpwnam(3) and NOT the cvspasswd in your cvs repository (it's
> a fallback mechanism). As we can see username is fucked up. username is
> read by cvsserver via getline_safe which reads from inetd. Maybe a
> strace of the cvs server can help.
> 
> set this in your /etc/inetd.conf:
> cvspserver stream tcp nowait root /usr/bin/strace -o /tmp/cvs.strace -f /usr/bin/cvs --allow-root=/usr/local/cvs pserver
> 
> and post /tmp/cvs.strace after an unsuccessful attempt of cvs co home.
> Maybe this can bring some details.

I am assuming the format of the command is screwed up somewhere:

$ cvs co home
cvs [checkout aborted]: unrecognized auth response from
server.com: -o: /tmp/cvs.strace: command not found

I checked and double checked it with your format, and it is
identical...

-- 
:wq!

  Matthew Daubenspeck
  http://www.oddprocess.org



Reply to: