smbpasswd replication

richard rcoates at
Fri Oct 11 05:35:00 GMT 2002

Can't see how Steve? Unless you mean sharing usernames across multiple
pcs in different offices. To clarify:
our network consists of 4 offices linked by vpns through the internet.
At present we auth to an Nt4 pdc in main office which works fine until
"telstra" our isp goes down...hence my need for a "bdc" type of backup
For us the chance of the same user/password being modified on two
different servers at the same time is negligible. and if we only
replicate the individual user/passwords that change the whole database
should remain in a consistent state....unless I've missed something?

On Fri, 2002-10-11 at 14:31, Steve Langasek wrote:
> 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

More information about the samba-technical mailing list