Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have migrated the CVS from Windows to Linux and imported the repo's as needed. Now I have to setup ldap authentication ( Remote Server/Linux/Open LDAP ) for CVS. As per other blogs, it says we have to setup a service in /etc/pam.d/ for cvs. So I created a file like this: ..... .


auth required account required session required

Now I tried to login with following command :


( the user is a LDAP user not present on /etc/passwd ) . I got the follow error message :

cvs -d :pserver:test@x.x.x.x:2401/opt/test login Logging in to :pserver:test@x.x.x.x:2401:/opt/test cvs [login aborted]: authorization failed: server x.x.x.x rejected access to /opt/test for user test
* CVS exited normally with code 1 *

When i tried to login with same command for local user ( .htpasswd under CVSROOT or /etc/passwd ) it works fine ...

cat /var/log/messages | grep -i test
Mar 11 12:45:07 epm-cvs-l02 cvs: password mismatch for test: **3OrMJ.3GL7s vs. * 
Mar 11 13:59:16 epm-cvs-l02 cvs: password mismatch for test: **KM9FCdaHmrs vs. *

how should i configure authentication with LDAP ....... I already have ldap user login working when connect to the box.

Concurrent Versions System (CVS) 1.11.23 (client/server)

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.