Configure CVS to use winbind for authentication?

Posted on 2003-03-27
Medium Priority
Last Modified: 2013-12-15
I currently have two sites accessing my Samba server. One site is in a Win2K domain, and they authenticate using winbind - this allows their domain username and password to work. The second site is not in the domain, so they are using smb encrypted passwords (smbpasswd file). Winbind is configured to check the files first, and then go to the domain second.

I am looking to deploy CVS to these two sites on the same server, and would like to try to use the same authentication methods. It seems that CVS only wants to use the /etc/passwd file (besides rhosts, ssh, etc). This means setting extra passwords for each user (something I avoided doing for Samba).

Is there any way that I can configure CVS to use winbind or smbpasswd for authentication?

The server is RedHat 8.0, cvs-1.11.2-5, and the clients are using WinCvs or TortoiseCVS.

Question by:JammyPak
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 51

Accepted Solution

ahoffmann earned 900 total points
ID: 8223683
CVS has several authentification methods, for example using /etc/passwd (which is not recommended, see docs) or CVS' private passwd in CVSROOT (see docs too)
IIRC all CVS docs recommend to use the CVS' private authentification to avoid exposing user passwords, keep in mind that CVS' main purpose is inter-operability and not security.

Well, this ends up in having at least 2 passwords, or lazy users using the same for system and CVS. And its far avay from single-sign-on. You have to decide what has the higher priority: security or CVS.
LVL 16

Author Comment

ID: 8270834
It seems there may be some potential to use PAM to authenticate to CVS with SMB authentication - before I give up on this, does anyone have any tips on this idea?


Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 8 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question