rsync & smbpasswd

Simo Sorce idra at samba.org
Tue Jul 24 20:37:33 GMT 2001


On Tue, Jul 24, 2001 at 09:26:01AM -0400, William Jojo wrote:
> 
> 
> I have several Samba 2.2.1a servers running on several AIX 4.3.3 and 5.1.0
> boxes.
> 
> Presently they share the private/smbpasswd file via a symbolic link to an
> NFS share where the "master" file exists. I hate this because I can't 
> reboot certain systems when I need to.
> 
> So, if I rsync the smbpasswd file on the clients and retrieve it from the
> master, will I:
> 
> 1) Succeed.

you will succed.
> 
> 2) Create a locking issue when a station tries to authenticate and the
> machine account, user id or both are missing from the file because the
> transfer is incomplete?

if you fear that, simply make a script that rsync to a different file and then
move that file over the correct one. A move is really fast (just changes one or two inodes)

> we have 13,240 entries in smbpasswd so it takes a few seconds even on
> 100Mbit or Gig
> 
> or am i just being too cautious?
> 
> Please advise....
> 
> Thanks!
> 
> 
> Bill
> 
> 

-- 
Simo Sorce       idra at samba.org
-------------------------------
Samba Team http://www.samba.org




More information about the samba-technical mailing list