info-cvs
[Top][All Lists]
Advanced

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

password authentication problem


From: Jean LEE
Subject: password authentication problem
Date: Mon, 7 Jun 2004 11:36:41 +0200

Hello all,
 
There si one week that I try to make a WinCVS client (192.168.0.2)  working with a CVS server (192.168.0.1) on Linux but without success. I think there is something that I have really do not understood. Here is what I done with pserver (I know that it is not secure but it seems to be the easiest) :
 
installing CVS on Linux (Redhat 7.3) in /usr/local/cvs/
add to PATH : /usr/local/cvs/bin
 
cd /usr/local/cvs
mkdir cvsroot
set CVSROOT to /usr/local/cvs/cvsroot
 
cvs init
I tried somme things locally and it works (import, checkout, commit,....)
chmod 777 -R /usr/local/cvs (not secure but to be sure I have the rights...)
create passwd file in /usr/local/cvs/cvsroot/CVSROOT which contains only :
 
    station:
 
set SystemAuth=no in the 'config' file in /usr/local/cvs/cvsroot
 
in /etc/xinetd.d, I created the file cvspserver with the lines :
 
    service cvspserver
    {
        port                =2401
        socket_type    =stream
        protocol          =tcp
        wait                =no
        user                =root
        passenv          =PATH
        server             =/usr/local/cvs/bin/cvs
        server_args     = -f --allow-root=/usr/local/cvs/cvsroot pserver
    }
 
restart xinetd service
verify that xinetd is listening on port 2401 with netstat
 
 
on WINCVS :
 
Admin -> Preferences ->    
    Authentication :     pserver
    Path: /usr/local/cvs/cvsroot
    host address: 192.168.0.1
    user name: station
 
Admin -> login
When asking for a password, I type enter without any password
 
Then, I received the message :
 

CVSROOT: address@hidden:/usr/local/cvs/cvsroot (password authentication)

Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win32

CVSROOT: address@hidden:/usr/local/cvs/cvsroot (password authentication)

cvs -d :pserver:address@hidden:/usr/local/cvs/cvsroot login

Logging in to :pserver:address@hidden:2401:/usr/local/cvs/cvsroot

cvs [login aborted]: Error reading from server 192.168.0.1: 0: No such file or directory

***** CVS exited normally with code 1 *****

Which is the file or directory which is not found ?

Any advice would be great......

Jean


reply via email to

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