[Samba] Dynamic updates to "interfaces" parameter doesn't work

Moray Henderson Moray.Henderson at ict-software.org
Wed Dec 16 03:21:02 MST 2009


Yatish Jain wrote:
>Hi All,
>
>I am trying to make changes to "interfaces = " parameter in smb.conf
while
>samba is running but even after "smbcontrol smbd reload-configuration"
,
>there is no effect  of this change.
>
>Please tell me how to find the interfaces a running smbd is listening
to
>since smb.conf file may have changed since smbd started and didn't
detect
>these changes.
>
>Version : 3.0.33-3.7.el5
>Platform: Red Hat Enterprise Linux Server release 5.3
>
>Best Wishes
>Yatish

Samba can pick up certain changes dynamically, such as adding a new
share, but I would expect changing the interfaces parameter to require a
full restart: I do not think existing connections could be moved
seamlessly from one interface to another.

One way so see what Samba is listening on is to use the netstat(8)
command.  Something like

    netstat -lnp | grep [ns]mbd

will show you what IP addresses and ports Samba is using.



Moray.
"To err is human.  To purr, feline"






More information about the samba mailing list