info-cvs
[Top][All Lists]
Advanced

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

Re: Login problem when using LDAP based authentication


From: Raghavendra Kothamangala
Subject: Re: Login problem when using LDAP based authentication
Date: Tue, 19 Mar 2002 08:32:47 -0800 (PST)

Hi Larry,

I was able to rectify the "Connection refused" problem.

But I am getting the below problem.

$ export CVSROOT=:pserver:address@hidden:/proj1/cvs/repos/cvstest
$ cvs login
(Logging in to address@hidden)
CVS password: 
cvs login: authorization failed: server cvs-test rejected access to
/proj1/cvs/repos/cvstest for user ksraghu
$

ksraghu is an LDAP account. I have setup the machine for LDAP based
authentication. I am able to login using ssh into the machine using
that ID.

But when I use a local user, say root, I am able to login without any
problem.

$ export CVSROOT=:pserver:address@hidden:/proj1/cvs/repos/cvstest
$ cvs login
(Logging in to address@hidden)
CVS password: 
$

Here is my cvspserver file in /etc/xinetd.d directory.
service cvspserver
{
        disable         = no
        port            = 2401
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        env = HOME=/proj1/cvs
        passenv         = PATH
        server          = /usr/bin/cvs
        server_args     = -f --allow-root=/proj1/cvs/repos/cvstest
--allow-root= pserver
}

I tried by not giving 'env' also. But still the same problem.

Is there any problem with CVS using LDAP server for authentication. Do
i have to setup anything else.

Please let me know.

Thanks
-Raghu


--- Larry Jones <address@hidden> wrote:
> raghu_at_work writes:
> > 
> > For authentication, the 'cvs login' works if I login as a local
> user, 
> > but If I use LDAP account, the login fails and gives the following 
> > error.
> > 
> > cvs [login aborted]: connect to 192.168.2.5(192.168.2.5):2401
> failed: 
> > Connection refused
> 
> You've misdiagnosed the problem.  "Connection refused" indicates that
> nothing is listening to port 2401 on 192.168.2.5, which indicates
> some
> kind of [x]inetd problem.  You haven't even started the CVS server,
> let
> alone tried to authenticate the user.
> 
> -Larry Jones
> 
> Well, it's all a question of perspective. -- Calvin


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/



reply via email to

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