Latest LQ Deal: Linux Power User Bundle
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 06-22-2005, 09:14 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Gentoo
Posts: 28

Rep: Reputation: 15
Samba, LDAP, NIS. Which one does the trick?


I'm a total newbie in user administration. These days I have promised to help a friend build a small network for her business, and naturally I couldn't resist recommending the use of linux. However, all clients have to be running windows for now so I ended up with the following scenario:

One server running gentoo-hardened (compiling packages as I type)
5 computers running Windows XP PRO with MUI (multilingual user interface, you can choose the prefered language of the UI)

This is what I want to do: Keep a single "user database" on the linux server so that I only have to maintain passwords etc there. So users should be able to login no matter which of the five computers they are using.

MUI-enabled versions of windows supposedly provide the following feature: the language of the UI is automatically determined when the user logs in, either because the user has made a choice, or because the administrator has set his account up that way. Is this latter option feasible if all user accounts are stored on the linux box? And which technology am I supposed to use? Am I right in thinking that LDAP's or NIS's and samba's functionality overlap?

To sum up, I know what has to be done but I have no idea how to do it. Moreover I'm totally frustrated by these technologies and I can't understand whether I need the functionality they offer. I can understand the fact that samba enabled linux to access smb shares etc but how does that interfere with user authentication? Add kerberos into the picture and I'm on the verge of crying.

Can somebody pleeeease clear things up a bit? :-)

Thank you in advance,
Old 06-23-2005, 01:01 AM   #2
Registered: Mar 2004
Location: Lenoir, NC USA
Distribution: Mandrake 10.2
Posts: 129

Rep: Reputation: 15
Basically you just need Samba. Create a shared directory on the server, give all users access to it if desired. Create linux and samba users/passwords matching the windows users. Each windows user would then have his/her own home directory as well as a common directory for shared files.

This page might be of help too:
Old 06-23-2005, 01:56 AM   #3
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
NIS I have never used - I don't know how easy or difficult it is to integrate with windows clients (though I suspect it's not the easiest).

LDAP by itself would be no use - it doesn't provide the authentication you need for Windows login, even though Win2000+ AD uses LDAP underneath.

Samba running as a PDC for an NT4-style domain is probably what you're safest with. This takes care of the centralised user management, though you will need to manually join each workstation to the domain. Check the FAQs on for the quickest intro to getting this configuration going. Set up network profiles for the users, and this should take care of storing/setting the language settings.


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
centralized authetication NIS or LDAP ravikumarG Linux - Networking 1 05-16-2005 07:13 PM
NIS, Samba or LDAP? mediocrity Linux - General 2 04-25-2005 07:42 PM
LDAP and NIS Dark_Helmet Linux - Networking 3 11-29-2004 02:46 PM
NIS versus LDAP/Kerberos elbe3321 Linux - Networking 2 08-27-2004 02:58 PM
LDAP server or NIS? beginner16 Linux - Newbie 0 11-27-2003 03:43 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration