LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-09-2009, 02:25 PM   #1
richinsc
Member
 
Registered: Mar 2007
Location: Utah
Distribution: Gentoo Linux (3.0.6-gentoo)
Posts: 222

Rep: Reputation: 31
NIS(YP) vs. LDAP: Which is better?


I have a question about NIS and LDAP Servers. Which is better. Which one requires a AD Server if any?

I have tried researching the information myself but from what I can tell NIS is a older then LDAP and you would think that it would be easy to find information on installation and management but no luck. Is NIS still even maintained.

I am looking to setup a central management server for my Linux systems. I don't want to use a or Setup an AD, but I do want to have the option in case I am forced to do it one day. Or possibly make the AD Server a slave to the NIS/LDAP Server. I want all the user account in the Master Server.

While LDAP information is fairly easy to find and understand I am still looking for good NIS Documentation. It also seems that the more I search to more people are using LDAP and documenting this while use of NIS is non-exsistant.
 
Old 01-09-2009, 03:23 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,470

Rep: Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538
Quote:
Originally Posted by richinsc View Post
I have a question about NIS and LDAP Servers. Which is better. Which one requires a AD Server if any?

I have tried researching the information myself but from what I can tell NIS is a older then LDAP and you would think that it would be easy to find information on installation and management but no luck. Is NIS still even maintained.

I am looking to setup a central management server for my Linux systems. I don't want to use a or Setup an AD, but I do want to have the option in case I am forced to do it one day. Or possibly make the AD Server a slave to the NIS/LDAP Server. I want all the user account in the Master Server.

While LDAP information is fairly easy to find and understand I am still looking for good NIS Documentation. It also seems that the more I search to more people are using LDAP and documenting this while use of NIS is non-exsistant.
My $0.02 worth is go LDAP. Aside from the tons of documentation on it, it's supported by a lot of different operating systems, and plays well with others in a network environment.

Neither NIS or LDAP NEED an AD server, but AD can work with either.
 
Old 01-09-2009, 03:56 PM   #3
richinsc
Member
 
Registered: Mar 2007
Location: Utah
Distribution: Gentoo Linux (3.0.6-gentoo)
Posts: 222

Original Poster
Rep: Reputation: 31
Okay, Thanks TBone.

Second question would be if I go with LDAP could windows machines authenticate to NIS server or would I be required to Setup AD Sever. As of moment all systems are linux but at sometime there may be a Windows box that just has to be part of the network. So I want to be prepared for that. Let's hope it never gets to that point.
 
Old 01-09-2009, 04:17 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,470

Rep: Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538Reputation: 2538
Quote:
Originally Posted by richinsc View Post
Okay, Thanks TBone.

Second question would be if I go with LDAP could windows machines authenticate to NIS server or would I be required to Setup AD Sever. As of moment all systems are linux but at sometime there may be a Windows box that just has to be part of the network. So I want to be prepared for that. Let's hope it never gets to that point.
If you go with LDAP, why would you need NIS or AD???

These are all just authentication mechanisms. You only need one. Windows can work nicely with LDAP, but (I take it as hearsay...I don't do Windows ), there are some tricks to getting it working 'just right'. I know my Solaris/AIX/Linux systems, all have zero problems with LDAP, and integrate beautifully at build time.

Be SURE to set up a master/slave setup, though, and have GOOD recovery plans in place in case one dies. Remember, the more pieces you have authenticating to this box, the more things that will be affected if you CAN'T authenticate. This is true for NIS, AD, or whatever else you use for enterprise logins.
 
Old 01-26-2009, 09:50 AM   #5
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
Best way forward is SPELL OUT WANT YOU WANT TO ACHIEVE FIRST, then we can all help/contribute easily, giving you the best solutions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
NIS and LDAP ? adekoya_sola Linux - Newbie 2 12-08-2008 12:53 PM
NIS and LDAP ? adekoya_sola Linux - Newbie 3 12-08-2008 12:47 PM
Nis - Ldap - Ad steven.wong Linux - Networking 3 08-31-2006 06:37 PM
How i use Nis or LDAP sfahadtariq Linux - Networking 1 01-16-2006 03:09 PM
LDAP and NIS Dark_Helmet Linux - Networking 3 11-29-2004 02:46 PM


All times are GMT -5. The time now is 09:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration