smbpasswd replication

Steve Langasek vorlon at
Fri Oct 11 04:32:00 GMT 2002

On Fri, Oct 11, 2002 at 02:18:48PM +1000, richard wrote:
> my first thoughts too. but to synchronise the data to and from 6 samba
> servers I need to real careful...example:
> rsync -au local_file 
> will sync the entire contents of the file. If another user happens to
> changing their password on the destination pc at this moment they get
> overwritten, we have a replicated mess. I think by replicating single
> user changes only at one time there is much reduced chance of trouble.
> Hopefully a simple reliable system without the complication of ldap
> etc.. I don't know if anyone has already tried this?
> Richard.

Such a system would be neither simple, nor reliable; it would still be
possible for changes to be made on two machines to one account in the
same rsync window, resulting in one set of changes being lost.  It is
much simpler to designate a "master" server (a PDC) that all update
requests are sent to, then use rsync to propogate the master file out to 
other servers.

Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list