info-cvs
[Top][All Lists]
Advanced

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

Re: pserver unrecognized auth error.


From: mike walster
Subject: Re: pserver unrecognized auth error.
Date: Wed, 18 Jun 2003 14:01:40 -0700 (PDT)

I am using version 1.11.5
I had some trouble when moving from 1.11

my server args in xinet.d/pserver were
-f --allow-root /blah -f --allow-root /blah/blah etc.
(note the spaces)
I kept getting unrecognized auth

I found that if I changed to my server args to 
-f --allow-root=/blah -f --allow-root=/blah/blah that it worked again.
I have not had good luck unless I specified -f --allow-root for each dir.
I did not do any further investigation after I got it
working. Also I am no cvs expert but that is what worked for
me. Hope it helps
mw-


--- address@hidden wrote:
> 
> 
> 
> 
> Dear cvs readers,
> 
> I've got this problem. I just download ans set up my new cvs server based
> on the cvs-1.12.1 version.
> 
> Inside my repository   (localized in  /var/cvs_repositories/ort) I have set
> the CVSROOT/passwd file with :
> anonymous:
> bobenrieth::cvs
> strohl::cvs
> where cvs is one of the system user.
> 
> I've modified the config file so that the system users could not log in
> (SystemAuth=no).
> 
> When I try to log in with one the preceding users I got these messages :
> $ cvs -d :pserver:address@hidden:/var/cvs_repositories/ort login
> Logging in to :pserver:address@hidden:2401/var/cvs_repositories/ort
> CVS password:
> cvs [login aborted]: unrecognized auth response from localhost:
> /var/cvs_repositories/ort
> 
> My cvs xinetd file contains :
> service cvspserver
> {
>         disable             = no
>         socket_type         = stream
>         protocol            = tcp
>         wait                = no
>         user                = root
>         server              = /usr/sbin/cvspserver
> }
> 
> 
> where cvspserver contains :
> args="--allow-root=/var/cvs_repositories/ort /var/cvs_repositories/den"
> if [ -n "$args" ]; then
>     exec /usr/local/cvs-1.12.1/bin/cvs -t -f $args pserver
>     echo "runing cvs with -f $args pserver"
> else
>     echo "no repository configured in $CONF" 1>&2
>     exit 2
> fi
> 
> If I try a "telnet localhost 2401" I get :
> 
> # telnet localhost 2401
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> /var/cvs_repositories/ort
> /var/cvs_repositories/den
> 
> cvs [pserver aborted]: bad auth protocol start:
> 
>   -> Lock_Cleanup()
> Connection closed by foreign host.
> 
> Which seems to tell us that the server is really running !
> 
> Any idea ????
> 
> Thanks a lot for your help.
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs





reply via email to

[Prev in Thread] Current Thread [Next in Thread]