Solved

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

Posted on 2004-03-22
9
4,217 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

831 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