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


  Search this Thread
Old 12-08-2005, 04:35 AM   #1
LQ Newbie
Registered: Dec 2005
Location: Netherlands
Distribution: Fedora core 3 on VPC
Posts: 2

Rep: Reputation: 0
Common use of NFS, SAMBA, NIS, LDAP, PAM

Hello I'm a newbie at the Linux world. I'm a certified Microsoft Trainer and want to add more Linux knowledge to my networking lessons. At this moment I'm writing a new part for my networking curriculum. In this part I want to describe something about what solutions to use in Linux networking.

I'm working on central and distributed authorization and file sharing.

My questions is, what solutions should I describe, which method is most common at companies using Linu.

Thus far I came up with the following conclusions:

File sharing:
NFS for linux <-> linux communication
Samba for linux <-> Windows communication
Samba for linux <-> linux communication

Is it wise to explain NFS or is Samba more common.

/etc/passwords local authorization for small environment
NIS distribution of /etc/password for larfer environment, is an old technique, but still often used
LDAP through PAM, connection to Novell's eDirectory of Microsoft's AD

Is it wise to explain NIS or is it to old.


Erik Verberne
Old 12-08-2005, 05:57 AM   #2
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I've never gotten a client that was 100% linux/unix, so I'd say focus on Samba. It can integrate into 2000/2003 networks for File/Print servers inside Active Directory, Terminal Services, Web & FTP. Although it can do more, those are the implementations in the Real World that I've run up against. Another huge benefit for small offices and "Mom & Pop" type shops in using Samba as a PDC emulator. This saves them a bunch while still securing and centralizing their network. I'd say Samba is more common, but both have strengths.
NFS is a great tool if you can understand its benefits. I've seen it go to waste because of a lack of vision though (as with some of the peoples visions about linux).

I've never had to play with NIS/NIS+. Perhaps its is old and out-dated. LDAP, PAM, & Kerberos can seemlessly integrate a linux box into an existing Directory structure.

I'd recommend the "Official Samba3" book. It was an easy read and had great examples. It did lack a little of the technical explainations, but is good for that.

Also check Samba-TNG. Though I've never implemented it, I like to keep up on what new tricks they are working on.

Last edited by musicman_ace; 12-08-2005 at 05:58 AM.
Old 12-08-2005, 07:03 AM   #3
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Just as an added extra to the fairly comprehensive response from musicman_ace, LDAP is becoming more commonly used with OpenLDAP or similar, rather than purely used to tie into existing directory structures. We're currently doing a lot of work with OpenLDAP as the backend to Samba servers, so that even Windows clients login in via Samba, pulling data from the OpenLDAP database, and with Linux machines doing this via nss_ldap and changes to PAM.

As for NIS, it is largely outdated as you mentioned, due to extra functions available in more feautre-rich directory structures, but it's probably worth at least going over what it is, as your students may well encounter environments setup running NIS, even if you wouldn't neccessarily implement it from scratch. Depending on how much control you need, NIS may well be adequate enough in some situations even now.
Old 12-12-2005, 08:49 AM   #4
LQ Newbie
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Originally Posted by fouldsy
As for NIS, it is largely outdated as you mentioned, due to extra functions available in more feautre-rich directory structures
Hi! I'm an administrator in a university campus. I have 2 questions:
1) How do you think, is it right decision to use authorisation through LDAP and to have NIS responsible for managing fstab, services, etc?
2) It is posibble to have 1 fstab file in lan?

Old 12-12-2005, 08:58 AM   #5
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Originally Posted by eve
Hello I'm a newbie at the Linux world. I'm a certified Microsoft Trainer and want to add more Linux knowledge to my networking lessons.

Erik Verberne
Welcome to linux/*nix.
But Cetification of MS doesnt matter much in this part of world. Being more technically correct is the utmost requirement as per my view.



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
pam + ldap client paul_mat Linux - Networking 0 10-25-2005 10:55 PM
Samba, LDAP, NIS. Which one does the trick? GD_19 Linux - Networking 2 06-23-2005 01:56 AM
NIS, Samba or LDAP? mediocrity Linux - General 2 04-25-2005 07:42 PM
Samba, PAM and LDAP Linh Linux - Networking 0 05-09-2003 10:07 AM
NIS and pam/gdm authentication failure cquense Linux - Networking 0 07-05-2001 03:08 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:26 AM.

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