LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-02-2007, 02:45 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
LDAP Authentication Understanding


I need a better understanding on how linux, shares its resources and controls account authentication in one central location like how Active Directory authenticates windows users and network resources? What I want to due is setup LDAP, SAMBA and LAM for windows and linux authentication in one central location! Also can NIS due all of this or is LDAP the preferred method?
 
Old 01-02-2007, 03:17 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
LDAP is just a database specification. However, LDAP databases are very flexible and can hold a variety of different information, including authentication information. A *nix system authenticates users to an LDAP database the same way it would authenticate against any other database such as /etc/passwd + /etc/shadow. Most systems use PAM for authentication, so you only need to activate the requisite PAM module for LDAP. In some cases you might also have to edit /etc/nsswitch.conf to make the system use that service. Since Active Directory is just a variant on LDAP it is possible for Windows and *nix systems to authenticate off the same source. I've never personally set it up but have talked to people who have.

NIS is a database like LDAP, but it's a less secure protocol for a variety of reasons. Still it's quite popular on small networks of trusted machines protected behind a good firewall, mostly because it is extremely simple to set up. I believe a Windows system (at lease server 2003) can use NIS for authentication using some of the Services for Unix stuff, however, IMO LDAP is probably the better way to go when dealing with Windows machines.
 
Old 01-02-2007, 08:11 PM   #3
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
So if I setup LDAP it can authenticate *nix and windows users and then they can share network resources. Do you know of a decent HOW
TO on LDAP,SAMBA,and LAM?
 
Old 01-02-2007, 08:21 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Your distro list includes SuSE. SuSE supplies a samba-doc package that includes 3 Samba 3 books in both pdf and html form. Both the "Samba 3: Reference Guide & Howto" and "Samba 3 by Example" books contain information on using Samba and openLDAP. The package also supplies sample ldap configs and scripts.

The Samba books recommend becoming comfortable with setting up and using LDAP before implementing it with Samba. The examples are solely meant to replace AD, and if you rely on them you won't utilize the directory server as well as you could.

IBM has some Red Book publications on LDAP on the web.

Last edited by jschiwal; 01-02-2007 at 08:23 PM.
 
Old 01-02-2007, 09:13 PM   #5
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
many thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba, LDAP, LAM & SMBLDAP-TOOL Understanding metallica1973 Linux - Networking 0 12-15-2006 03:14 PM
ldap authentication goestin Linux - Networking 2 12-27-2005 11:27 AM
LDAP Authentication and su da_kidd_er Linux - Networking 1 12-27-2005 11:24 AM
Ldap Authentication joeyBig Programming 1 08-25-2004 10:00 AM
ldap authentication box_l Mandriva 0 03-22-2004 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration