Samba Mystery Share
I made a new fileserver, it is not yet live .. I simply copied our smb.conf file from our old box with a couple of minor adjustments and all works well, _however_, if I look at that box with a windows file explorer, among the shares that should be there, is one called "nobody". I have no clue why it's there, and it can't be entered. Logs don't tell me anything
Debian 12 / Samba 4.17.12 Any thoughts? |
This thread from the Ubuntu forums might be helpful.
|
There are only a couple of threads with a similar problem that pop up in a search but nothing really points to a cause. It might be a samba bug but I am guessing its rarity would make it hard to debug. I am guessing that you do not have a home directory, user share or anything else in your smb.conf that might create a share called nobody. I have several systems running debian 12 with samba and never have seen a rouge share yet but must are pretty much stock configuration.
|
The cause of this seems to be that the smb.conf file shipped with Debian enables the [homes] automatic shares.
If you want to keep that feature, then the solution would be to add the following "share" to smb.conf: Code:
[nobody] Code:
# systemctl restart smbd nmbd |
I stand corrected I can see the nobody share via linux file browser but not Windows. I guess I never tried which is strange... But yes adding a fake share is the workaround.
|
It looks like you have the 'homes' share in use and have connected anonymously, the guest user is 'nobody', so you are being shown the home directory share for 'nobody'.
|
Thanks all, the
``` [nobody] browseable = no ``` removed the "nobody" share from view |
All times are GMT -5. The time now is 09:35 PM. |