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

Re: CVS Login problem



On Sat Apr 19, 2003 at 11:16:33AM -0400, Matthew Daubenspeck wrote:
> $ cvs -t co home
>  -> main loop with CVSROOT=:pserver:user@server.com:/usr/local/cvs
>  -> Connecting to server.com(ip.add.re.ss):2401
> Fatal error, aborting.
> 9`TKÿû,9`XKÿû$9`\Kÿû9``Kÿû9`dKÿû
>                                 9`hKÿû9`lKÿúüKÝ]?Kÿúô: no such user
>  -> Lock_Cleanup()

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.

so long
Thomas

-- 
  ___    Obviously we do not want to leave zombies around.
_/___\     - W. Richard Stevens
 ( ^ >   Thomas Krennwallner <djmaecki at ull dot at>
 /   \   1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
(__\/_)_ http://bigfish.ull.at/~djmaecki/

Attachment: pgpn_qddhxNPx.pgp
Description: PGP signature


Reply to: