Run at unix solaris 10 - sparc I created a directory /tmp/share Before the add share the smb.conf is: [global[ workgroup = CIFS-DOMAIN wins server = 172.16.20.227 netbios name = bellona security = SHARE password server = * server string = CLLF load printers = no socket options = TCP_NODELAY local master = no domain master = no lock directory = /tmp name resolve order = lmhosts wins bcast dns proxy = yes winbind uid = 1-65535 winbind gid = 1-65535 idmap uid = 1-65535 idmap gid = 1-65535 log file = /var/tmp/samba_log.%m max log size = 50 syslog = 0 interfaces = 172.16.4.97 172.16.4.92 Add share – the smb.conf is: ]global[ workgroup = CIFS-DOMAIN wins server = 172.16.20.227 netbios name = bellona security = SHARE password server = * server string = CLLF load printers = no socket options = TCP_NODELAY local master = no domain master = no lock directory = /tmp name resolve order = lmhosts wins bcast dns proxy = yes winbind uid = 1-65535 winbind gid = 1-65535 idmap uid = 1-65535 idmap gid = 1-65535 log file = /var/tmp/samba_log.%m max log size = 50 syslog = 0 interfaces = 172.16.4.97 172.16.4.92 ]share[ path = /tmp/share read only = no guest ok = yes use sendfile = yes run pkill -1 smbd; pkill -1 nmbd at server Connect from client to \\server\share Delete share from smb.conf run pkill -1 smbd; pkill -1 nmbd at server From client I can still map to \\server\share and create files
removing options does not disable them if they have been set before. If you want to disable a share without restarting smbd you might for example set "available=no" for that share.
I did this change. The client can't connect to share, but if it connected before, it can continue to work in the share and create files
This is by design. Volker
*** Bug 10485 has been marked as a duplicate of this bug. ***