Solved

CVS on linux authenticating with an LDAP server or NT Domain users

Posted on 2004-03-22
9
4,218 Views
Last Modified: 2012-05-04
I have CVS server running on RH Linux Enterprise 3.0.  I have about 20 user with NT domain account which I need to give access to the CVS box.  How can I configure Linux to authenticate with my NT Domain users or my LDAP server so I won't have to create all 20 users locally on my Linux CVS servers.
0
Comment
Question by:marcalfa1
  • 3
  • 2
  • 2
  • +2
9 Comments
 
LVL 9

Accepted Solution

by:
majorwoo earned 500 total points
ID: 10650238
you would want to setup samba on your linux box,
http://www.samba.org/

Specifically,
http://us2.samba.org/samba/docs/man/domain-member.html#id2899503


0
 
LVL 9

Expert Comment

by:majorwoo
ID: 10650250
and for more information then you could ever possibly want about samba
http://us2.samba.org/samba/docs/man/

But that's overkill ;-)

Have you used samba at all before or is this all new to you?
0
 

Author Comment

by:marcalfa1
ID: 10650304
I have used samba before and it's install on the CVS sever running linux.  My problem is that I want my LDAP user to be able to authenticate with the CVS server without me having to create local accounts for every single users on the Linux server that's running CVS.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 9

Expert Comment

by:majorwoo
ID: 10650472
the second link I gave you will show you how to have your linux machine authenticate to the NT domain, you should then be able to setup your CVS server to use system accounts which would be read from the NT server
0
 
LVL 9

Expert Comment

by:Alf666
ID: 10677917
The simplest to set up is pam_ldap.
It's an authentication module which will query an LDAP server :

http://www.padl.com/OSS /pam_ldap.html
0
 
LVL 2

Expert Comment

by:TheKeyboardSlayer
ID: 10678712
You have to synchronize your windows users with your linux/unix ones.  This is accomplished by setting up encryption with samba using the PAM module.  It really is a good idea to read the man pages and step through it...it is semi difficult but once you do it you never forget it.  try manning pam_smbpass

Don't forget to add this line to smb.conf too (after you get it set up of course)...had me going for 2 weeks...
obey pam restrictions = yes


also remember to make sure your netbios name is different on each of the samba machines.

It really works great with webmin (which is what I use).  I have to use it do to time constraints (I have a 40 hour a week job AND I do networking on the side).  You might give that a go.
0
 
LVL 9

Expert Comment

by:Alf666
ID: 10679025
I'm sorry all, but I don't understand why you want this user to install samba ???

He just wants to authenticate his users for CVS acces against his AD.

Using the AD's LDAP acces along with pam_ldap should be enough.
0
 
LVL 2

Expert Comment

by:TheKeyboardSlayer
ID: 10681014
I got my PAMs crossed.  Ate a moron sandwich too. :)
0
 

Expert Comment

by:arvind_raju
ID: 22312964
Kinldy Let me know if there is a possibility of Authenticating CVS users through LDAP.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run DOS2UNIX and then execute the command 21 88
EXCHANGE. LINUX, SYMANTEC MESSAGING GATEWAY 2 39
Internal CA server 6 51
rsyslog raw message 4 15
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…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

820 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