I have been creating new samba shares in the smb.conf file, but I have to restart smb everytime in order to see these new shares. Is there a way to activate new shares without restarting or at least for samba to show the new shares without kicking people off their current sessions? Preston
i think you can try smbcontrol to pass parameters or config file to the smbd and nmbd process already running in your system. i only checked out this changed the debug level on the fly... ----- Original Message ----- From: <Preston.Newton@txucom.com> To: <samba@samba.org> Sent: Wednesday, October 31, 2001 6:04 PM Subject: creating new shares and restarting SMB> I have been creating new samba shares in the smb.conf file, but I have to > restart smb everytime in order to see these new shares. Is there a way to > activate new shares without restarting or at least for samba to show the > new shares without kicking people off their current sessions? > > Preston > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Samba rereads smb.conf every few minutes, so, if you are patient, the shares might show up on their own. Have you tried kill SIGHUP to make samba reread smb.conf? Joel On Wed, Oct 31, 2001 at 03:04:20PM -0600, Preston.Newton@txucom.com wrote:> I have been creating new samba shares in the smb.conf file, but I have to > restart smb everytime in order to see these new shares. Is there a way to > activate new shares without restarting or at least for samba to show the > new shares without kicking people off their current sessions? >