Skip to main content

Thread: How to hide Samba shares upon volume dismount?


i configured samba server on linux machine , can browse shares on win7 pc , linux pc. when dismount shared volume on linux server, still remain visible shared drive in win explorer - network (i don't assign drive letter it), , can browse empty share folder.

if stop samba, shared drives disappear - @ times after reloading explorer - or if not, folders no longer browsable.

question is, how configure samba server via terminal automatically hide shared folders on client pc (windows or linux), when volume unmounted folder on server? require running script or editing samba config file?

separate question, how delete obsolete samba shares win explorer after shutting down linux machine or samba daemon, if persist? command can run on linux machine that?

i'm surprised standard samba package doesn't have such feature... why leave empty folders around network?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [all variants] How to hide Samba shares upon volume dismount?


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues