LinuxQuestions.org
Visit Jeremy's Blog.
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 10-30-2008, 07:22 PM   #1
rsync
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
Linux Domain w/ Windows Clients


I'm replacing an aging (near dead) Windows NT 4 domain. It has about 80 Windows XP clients. I'd prefer a Linux-Based solution instead of a Windows-based AD solution. I need domain authentication, file serving, and print job handling.

I've considered OpenLDAP + SAMBA + whatever. However, I was wondering if there are any good Linux-based commercial applications that might fit the bill? I found one that looked promising. It was called PowerSMB. Unfortunately, it looks like the company is out of business, as I've made numerous attempts at contacting them.

Anyhow, I was wondering if anyone knows of a similar piece of pre-packaged software that might be able to do what I'm looking for.

Thanks,

rsync

Last edited by rsync; 10-30-2008 at 07:25 PM.
 
Old 10-30-2008, 09:56 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Anything that exists out there would simply be a wrapper or front end for Samba, so you would be better of just learning to properly configure and manage Samba itself.
 
Old 10-31-2008, 06:27 AM   #3
rsync
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Original Poster
Rep: Reputation: 0
OK. Maybe I should ask a more basic question. Is this a wise move on my part, given that all my clients are Windows XP machines? Would I be better off spending the money and learning AD?
 
Old 10-31-2008, 07:01 AM   #4
bobmac010
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 29

Rep: Reputation: 15
rsync, I have set up numerous SAMBA Servers as DC's, and all of my customers are happy. I use Slackware and the latest Samba, not the one that comes w/Slack 12.1, (a little buggy). Get the latest Slack Package and upgrade.

Here is a config that I use for my company:

[global]
lock directory = /var/run
netbios name = <insert servername here>
workgroup = <insert domain name here>
server string = file server
hosts allow = 192.168.
wins support = yes
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
local master = yes
os level = 65
domain master = yes
domain logons = yes
logon path = \\<insert server name here>\netlogon
logon home = \\<insert server name here>\homes\profile
logon script = %U.BAT

#
[netlogon]
path = /<insert path to netlogon directory here>/netlogon
guest ok = yes
writeable = no
share modes = no
#
[profiles]
path = /<insert path to profiles directory here>/profiles
browseable = no
guest ok = yes
writeable = yes
#
[homes]
comment = home directory
browseable = no
writeable = yes


With the default Slackware Samba package, I was getting errors when a user would move files from one share to another. The server would loose track of the connections, and drop them temporarily. The upgrade solved this issue.

Hope this helps.
 
Old 10-31-2008, 08:09 AM   #5
rsync
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Original Poster
Rep: Reputation: 0
bobmac010,

Thanks for the advice. Are you using OpenLDAP for authentication? Also, are there any other gotchas I should be on the look out for?

Thanks,

rsync
 
Old 10-31-2008, 09:05 AM   #6
bobmac010
LQ Newbie
 
Registered: Jun 2003
Distribution: Slackware
Posts: 29

Rep: Reputation: 15
No, I am not using LDAP. Just SAMBA. It seems to work fine. You do need to create computer accounts.
For example:
Computer name = accounting001
Samba Account "$accounting001" needs to be created without a password.
 
Old 10-31-2008, 02:51 PM   #7
rsync
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Original Poster
Rep: Reputation: 0
With SAMBA is it possible to set up some kind of redundancy with regards to the user accounts? For example, if I have two SAMBA servers and SAMBA1 goes down, can users still authenticate against SAMBA2?
 
Old 10-31-2008, 03:46 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Is this a wise move on my part, given that all my clients are Windows XP machines? Would I be better off spending the money and learning AD?
Do you need Active Directory? If you are replacing an NT4 domain, you can easily replicate any functionality you currently have with Samba (with considerably increased performance over NT itself). Samba can do AD too, but unless you need the functionality of AD, there is no reason you can't just stick with the NT4 domain style.

As for redundancy, Samba supports acting as both a PDC and BDC in an NT4 domain. Again, anything you can do in NT4 you can do in Samba, plus a whole lot more.
 
Old 10-31-2008, 07:03 PM   #9
rsync
LQ Newbie
 
Registered: Oct 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks...

By the way, is there anything to be gained by using LDAP for authentication in an NT-style domain with multiple domain controllers? Or does it just add to the complexity of the setup?

Last edited by rsync; 11-04-2008 at 12:51 PM.
 
  


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
need help for samba as domain controller for windows clients ARsenthil Linux - Server 3 02-18-2008 11:10 AM
Samba Domain Controler for windows clients thsot Linux - Server 2 12-25-2007 04:08 AM
Problem Joining Windows XP Clients to Suse PDC Domain dula Linux - Networking 2 04-07-2006 08:28 AM
How to add windows clients to linux Domain johnm78 Linux - Networking 1 07-19-2005 09:25 AM
Running Mandrake 9.1 Linux Clients on Windows 2000 Domain Server marc213 Linux - Networking 0 10-30-2003 03:20 AM

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

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