File locks when restarting smb

lenneis at wu-wien.ac.at lenneis at wu-wien.ac.at
Tue Apr 17 17:16:41 GMT 2001


MCCALL,DON (HP-USA,ex1):

> Hello Simon,
> Samba is NOT going to preserve file locking information across a restart,
> hence your problems.
> Rather than restarting samba when you add a share, it should be sufficient
> to issue the following command:
>     killall -HUP smbd
> to force all the smbd daemons to re-read the smb.conf file.
 
> Hope this helps,
> Don

> -----Original Message-----
> From: Simon Allenby [mailto:simona at projtel.co.uk]
> Sent: Tuesday, April 17, 2001 10:01 AM
> To: samba at lists.samba.org
> Subject: File locks when restarting smb


> Hi,
 


[snip]

And as another take on this, if the newly added shares are only to be
used by new users/workstations starting up/reattaching you do not need
to to anything at all, as the new smbd daemon instance will pick up
the changes automatically from the new smb.conf file.

regards,

-- 

Joerg Lenneis

email: lenneis at wu-wien.ac.at
















More information about the samba mailing list