LinuxQuestions.org
Help answer threads with 0 replies.
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 04-02-2004, 11:00 PM   #1
jkrische
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian 3, RH 7-9
Posts: 2

Rep: Reputation: 0
The Linux equivalent of NT domains?


Howdy all...

I'm an NT4 MCSE and thoroughly understand the Windows domain model (pre-AD). Samba connectivity to Win machines is second nature without much reading. I've got a 20-box "NT-family" network that now has 4 linux machines on it, handling our DNS and MySQL/PHP needs, but we are about to convert to all-linux, or at least 90% linux. The linux bug has bitten me hard and I'm ready to go whole-hog, tell MS to f-off forever.

So...

Suppose I want to run an all-linux network, while still maintaining the benefits of an NT-like domain structure? Centralized domain-level user/pw management, centralized group membership, while still allowing for each machine to have a handful of "local" accounts & groups to handle tasks specific to that machine?

Beyond just share connections - suppose I would like the user "bob" to be able to log in to KDE/Gnome from any number of linux workstations on the network, without having to set up Bob on each machine and manually assure password synch... and of course, Bob should have the same level of permissions on every machine by virtual of his network-wide group memberships. Bob's desktop, mail, etc (profile) prefs should all be centrally storable, too.

There has to be a way to do this... after all, nothing MS ever came up with was an original idea. I figure they stole domain modelling from the 'nix community too, so... how do you do this type of account/group/profile centralization on linux?

I've noticed in various places in the gnome/kde gui that network login can be enabled, and that looks pretty straightforward - the question is how to set up the "domain" server? Samba? Surely not. LDAP? Maybe. If so, where would I look for how to do that? Or maybe something else should be used? And what about network browsing, similar to WINS? LDAP solve that, too? Or maybe LDAP + DNS? Is there an equivalent of a PDC & BDC, to handle server failure, WAN-based domains and/or heavy account logon load?

Every discussion and howto I've looked at on LDAP tells me how to do damn near everything EXCEPT this specific task. Most frustrating. Every search for a linux equivalent to NT domains turns up endless discussions of Samba, and never to handle an all-linux network.

ANY help - even just a URL - would be greatly appreciated.

Many thanks in advance!
 
Old 04-03-2004, 02:33 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
I don't know much about this, but is 40. named -- Domain Name Server the kind of thing you're looking for?
 
Old 04-03-2004, 07:51 AM   #3
DrakIE
LQ Newbie
 
Registered: Apr 2004
Location: norfolk, va
Distribution: Drake 8.0
Posts: 17

Rep: Reputation: 0
Open-LDAP & SAMBA

Oh yea...that's simple, especially for fellow MCSE's.

You're going to be using SAMBA (yes samba) and open-LDAP. I recently stood up a samba PDC for a company which had 30 or 40 clients. It stood up very well in comparison to NT but was difficient while standing side by side with Active Directory (W2K/W2K3)

SAMBA will handle all you're PDC requirements
http://us1.samba.org/samba/ftp/docs/...PDC-HOWTO.html

And O-LDAP will handle all you're directory services and authentication
http://www.unav.es/cti/ldap-smb-howto.html
 
Old 04-03-2004, 10:44 AM   #4
SlackMaster
Member
 
Registered: Mar 2003
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Sounds like you may be looking for NIS (Network Information Service)

http://www.ibiblio.org/pub/Linux/doc...l#INTRODUCTION

I've just begun reading up on this myself.
 
Old 04-06-2004, 01:45 PM   #5
jkrische
LQ Newbie
 
Registered: Apr 2004
Distribution: Debian 3, RH 7-9
Posts: 2

Original Poster
Rep: Reputation: 0
thanks, gang.

thanks to all who have replied.

motub: no, that's not what I was looking for, though DNS is of course an important component and will be part of the setup. We already have a nice Bind9 server running and serving us well.

DrakIE: Thanks, dude. I've set up both a samba PDC & BDC before so I know how that goes. I will definitely read up on the openLDAP-smb link you've provided.

SlackMaster: Yeah, I was kinda looking at NIS too. Maybe it has a role to play. I'll be like you, reading up on it.


Here's an important question, mostly for DrakIE:
Under the arrangement you've described, I'm assuming you have samba and openldap on the same machine, yes? If so, then the linux clients are told to look to the ldap connector for logon credential checking, which in this case just happens to also be the samba server?


thanks again to all.
 
Old 04-12-2004, 06:49 PM   #6
warmongr
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Rep: Reputation: 0
But can you have your Linux clients authenticate against an Active Directory Server?
 
Old 04-13-2004, 10:22 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Of course it can. NT Domains as the thread started out being about was replaced by ADS. This in itself is a problem unless you have all of one or the other.

With Samba the solution is finally there. As it supports both NT domain PDC or ADS.

Consider Linux is also a superior file and web server.

Last edited by DavidPhillips; 04-13-2004 at 10:25 PM.
 
Old 04-13-2004, 11:07 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Anybody know when SAMBA is going to be able to act as a Active Directory PDC?

One of the few things holding me back from moving from a Windows 2000 PDC to a SAMBA one, is the fact that it would be a step backwards to the NT4 days.
 
Old 04-14-2004, 06:30 AM   #9
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
from samba.org

The original 3.0.0 release notes follow


1) Active Directory support. Samba 3.0 is now able to
join a ADS realm as a member server and authenticate
users using LDAP/Kerberos.
 
Old 04-14-2004, 07:06 AM   #10
warmongr
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Rep: Reputation: 0
Thanks for all your comments. I've used SAMBA as a file server before but never set one up to authenticate against an ADS. How does that work? Do I have 1 system acting as a SAMBA (ADS) for Linux clients to auth against? Or, do I have all clients use samba as a client to auth against a MS ADS? Please forgive the naive questions.

war...
 
Old 04-14-2004, 07:07 AM   #11
warmongr
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Rep: Reputation: 0
For clarification: I don't want to have a bunch of linux accounts on a bunch of linux boxes. I want linux users to login to linux boxes which is authenticating against an ADS.

war...
 
Old 04-14-2004, 03:41 PM   #12
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
Samba 3.0 does not act as an Active Directory server. It can participate in the AD environment using AD as the authentication point.

Until more improvement comes along, look into multiple LDAP servers (replicas) acting as AD would using Samba 3. Examples are in John Terpstra's Samba 3 By Example book.

Jon
 
  


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
Can Linux join NT domains? alaxulas Linux - Newbie 5 11-25-2004 10:58 AM
windows or linux-based domains? bluestorm Linux - Networking 4 07-01-2004 02:26 PM
Two domains, linux router, Route 1 domain to internel comp. lil_critter99 Linux - Networking 1 02-09-2002 02:16 AM
who does Linux work with NT Domains yogotie Linux - Networking 7 03-19-2001 10:32 AM
Hosting my own domains on Linux with a router gomer1701ems Linux - Networking 5 02-16-2001 12:46 PM

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

All times are GMT -5. The time now is 06:12 PM.

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