Samba - Sync Users on stand alone servers

Hello

A question which is probably really stupid, but I have to ask, because I need help.

I will try and describe the situation as best as possible.

You have 12 different Samba servers in 12 different locations on six different subnets.

The users and groups exist in Unix and Samba on each server. Each user will belong to one or more groups.

You want to sync the users on all servers so that you do not have to update each server individually. Say that you ad a user to a group on one server and would like for them to show up on the other 11 in a timely manner.

You do not have a Windows Domain, but you already have the samba servers. Could the 11 servers use one samba server for passwords and users and groups? If so how?

Last but probably not least is the workstation run Windows XP and do not belong to a domain, but are in the same workgroup.

What is the easiest way to fix this, without having to join the Win XP computers to a domain?

If I could junk it and start it all over, I would.

thanks
mld4165
LVL 1
mld4165Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ShineOnConnect With a Mentor Commented:
I don't know about helping you close this, but I've got an answer to your last question.

Yes, it is possible to replicate passwd/shadow/group between servers.  In fact, you could synchronize changes across all of them.   Problem is, you have to make sure all of your UID/GID numbers match up with the users before you start synchronizing.  It can be done with RSYNC.  I've seen discussions about how to sync your passwd/shadow/group files with RSYNC but I don't have any links for you.  That's probably the quickest solution, provided you can sync up the UID/GID's first.

Another alternative would be to set up NIS and migrate your passwd/shadow/group stuff to NIS, which should also be capable of having more than one copy of its database, IIRC.  That would take a bit more planning, but might be less foreign to you than LDAP.

Maybe, if you can do the RSYNC thing, that would buy you time so you could have a longer-term project of migrating to OpenLDAP as recommended - it'll give you a much more robust and, over the long-term, easier to support environment.

There are combinations of Samba and OpenLDAP that have been suggested as a robust alternative to MAD and Windoze.
0
 
pablouruguayCommented:
that is a Exam TEST..... but anyway

use ldap read about IT nad luck in your vacation test
0
 
pablouruguayConnect With a Mentor Commented:
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
mld4165Author Commented:
pablouruguay

>>that is a Exam TEST..... but anyway

lol!!

no real life. i have inherited and created this monster.
mld4165
0
 
pablouruguayCommented:
yesssss is a monster!!!! :) check this options to do that
0
 
mld4165Author Commented:
one reason I do not to use a directory service is that if one location gets cut off from the rest they cannot authenticate on their server.

you could have a backup controller at each site?

mld4165
0
 
nociSoftware EngineerCommented:
You can configure ldap on every site and have all sites replicate the ldap store between each other...

(openldap: slapd is the LDAP daemon, slurpd will replicate [ portions of ]your ldap trees around)

0
 
mld4165Author Commented:
while I am looking at ldap I have never used it.

can users update thier passwords from windows clients? If so how? Using Outlook is not going to go over well.

mld4165
0
 
nociSoftware EngineerCommented:
Normaly there are web based frontend tools for updating passwords running of the
box itself.
This is to prevent passwords leaking from database.
0
 
mld4165Author Commented:
any recommendations on how to setup an ldap server?

i have had no luck so far.

thansk
mld4165
0
 
nociConnect With a Mentor Software EngineerCommented:
This can get complicated to explain, please read some of the following and form your own opinion
explaining everything about ldap is quite a lot, and you know your situation best...

In general ibm has several good articles..., http://www.ibm.com/redbooks

http://www.redbooks.ibm.com/abstracts/redp3863.html?Open   - Ldap for Linux
http://www.redbooks.ibm.com/abstracts/sg244986.html?Open   - Understanding LDAP  design & implementation (skip the parts about Tivoli JDBN etc)
http://www.redbooks.ibm.com/abstracts/sg246163.html?Open   - Directory integration (also AD).

http://us2.samba.org/samba/docs/man/Samba3-HOWTO/
http://www.ofb.net/~jheiss/samba/ldap.shtml - this augment the official samba


For management:
install openldap + phpmyldap.

btw. 'net password' might work to update a password (if samba does its work well).

This quite something to read
0
 
mld4165Author Commented:
just throw out the ldap for a minute and talk about another way to possibly do this.

can the passwd, shadow, group, and files neccessary for samba be replicated between servers?

don't want to start a debate on the right or wrong od system administration, but ldap will take a while just to learn, and I need something quick.

thanks
mld4165
0
 
mld4165Author Commented:
The original question is about a mess that I inherited, then made a little worse, and I am now trying to fix. I am going to use Samba as a PDC and my outer offices will be backups to the PDC.

Even though I did not want to do the domain it seems to be the easiest way out.

mld4165
0
 
mld4165Author Commented:
thanks ShineOn
0
 
mld4165Author Commented:
Cyclops3590

sorry about that.

mld4165
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.