LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-19-2009, 10:28 PM   #1
russianczar
LQ Newbie
 
Registered: Nov 2009
Location: New York City
Distribution: Ubuntu 9.10, Gentoo Hardened
Posts: 1

Rep: Reputation: 0
Question Authenticating linux workstation users against linux server or how to switch from AD


Hello,

First of, thank you for a great forum, I've used this resource a lot when I just started out with linux 6 months ago, and partially thanks to this forum, I stayed Linux and now I'm loving it.

Now, back to business.

I have a network with 100 workstations using Windows XP Pro, and Microsoft Windows 2003 running as Active Directory Domain Controller.

Let's assume that people who work on the XP machines don't have any tools that keep them on Windows XP, they would be just fine using Ubuntu 8.04 for example.

How can I create a setup where I have one server with all the user names and those Ubuntu Workstations are logging on "to" that server or using the usernames and passwords and shared resources available on the Linux server? Just like the AD DC setup basically.


This hasn't been done yet, so suggestions for Linux Operating Systems are open for discussion. This is an urgent matter.


Thanks.

Please understand, I'm relatively new although far from stupid, so keep it detailed, but don't go crazy into specifics Thanks a lot in advance!
 
Old 11-20-2009, 11:20 AM   #2
kschmitt
Member
 
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
There are really three parts to this: authentication, printing, files.

Printing is pretty-much automatic. Setup one CUPS server, and all the clients will see their printers.
Files can be shared over NFS (or samba if you really want....).

The biggie for replacing AD is authentication, and authenticating over LDAP is pretty easy.

As long as you remember that this will be authentication only, not user-rights and desktop management, you can use an LDAP server. If the local (read individual workstation) user-rights management is setup properly, and based on group memberships, then you will in effect have managed systems. Just remember each workstation/system would have to be configured on its own.

Once the server was setup, the clients would then be configured to get their user and group information from the server, and presto, unified login.

Now, some distros make it easier to authenticate via LDAP, like RedHat/CentOS and Suse. During the install you're given the option to have the machine authenticate off of another server (LDAP, kerberos, hesiod(?), samba). I've never seen that option when installing Ubuntu, but it probably has something similar as well. You should also be able to configure the clients to automatically mount the user's home drive (which it will read from LDAP) upon login.

As far as LDAP servers go here are 3 common ones:
The most common is OpenLDAP. It may also be the easiest to configure, but that's a personal opinion. http://www.openldap.org/

The Apache project has Apahce Directory Server (the ldap server itself), and Apache Directory Studio (an eclipse based gui for LDAP servers). I haven't used it, but it does include both LDAP and Kerberos, which could be pretty cool. http://directory.apache.org/

Also RedHat has "389 Directory Server", which was until recently called Fedora Directory Server, and is, I believe, a direct descendant of Netscape Directory Server. http://directory.fedoraproject.org/


I hope that little brain dump gives you some sort of start.

Last edited by kschmitt; 11-20-2009 at 11:22 AM. Reason: gramatical error
 
Old 11-30-2009, 03:42 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Triple of Not-Quite-Off-Topic Thoughts

Samba 4 is supposed to be able to act as an AD DC.

Samba 3 can act as a non-AD DC.

KDE looks & acts more like W2k & XP than Gnome. -- Kubuntu or SimplyMEPIS would be easier transitions.
 
Old 11-30-2009, 06:28 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
There is a tool LikeWise available that can join your Linux box to a domain controlled by a windows AD controller.
It is easier to use. Just install it on the machines and join the domain. Thats it.
Samba is also very much capable of authenticating users off windows AD. But you need to configure samba and kerberos for the authentication.
If you are using RH, CentOS, or Fedora ( I do not know about other distributions ) you can use authconfig command line tool for the same. Just one long command with lot of options and you are done. There should be something similar in Ubuntu as well. But I do not know yet as my Ubuntu is not a part of domain.
 
Old 11-30-2009, 11:46 AM   #5
kschmitt
Member
 
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
Quote:
Originally Posted by archtoad6 View Post
Samba 4 is supposed to be able to act as an AD DC.

Samba 3 can act as a non-AD DC.

KDE looks & acts more like W2k & XP than Gnome. -- Kubuntu or SimplyMEPIS would be easier transitions.
Yea but samba 4 still isn't done. It's been under heavy development for a few years now, so maybe it'll be out soon but I wouldn't hold my breath.

I know plenty of folks who would love to switch to it, but can't, because it's not considered stable
 
Old 11-30-2009, 07:11 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
For LDAP, there's a good if slightly dated howto here http://www.linuxhomenetworking.com/w...DAP_and_RADIUS

See also http://www.linuxtopia.org/online_boo...5_ch-ldap.html
 
  


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 server not really authenticating XP users at logon g_jakes Linux - Server 2 10-24-2009 03:14 AM
Authenticating Web Users against Linux Accounts. demia Linux - Server 6 05-16-2009 06:09 PM
Authenticating from Linux to Windows workstation jasfo Linux - Networking 1 11-30-2004 11:12 PM
Authenticating a suse 9.0 workstation to a Samba 9.1 server havefun65 Linux - Networking 0 08-24-2004 03:59 PM
help on authenticating linux clients on server subhasis_ray Linux - Newbie 3 02-13-2002 01:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:38 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