[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4235
  • Last Modified:

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

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
marcalfa1
Asked:
marcalfa1
  • 3
  • 2
  • 2
  • +2
1 Solution
 
majorwooCommented:
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
 
majorwooCommented:
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
 
marcalfa1Author Commented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
majorwooCommented:
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
 
Alf666Commented:
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
 
TheKeyboardSlayerCommented:
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
 
Alf666Commented:
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
 
TheKeyboardSlayerCommented:
I got my PAMs crossed.  Ate a moron sandwich too. :)
0
 
arvind_rajuCommented:
Kinldy Let me know if there is a possibility of Authenticating CVS users through LDAP.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now