LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-09-2024, 12:39 PM   #1
danabooth
LQ Newbie
 
Registered: Dec 2022
Location: Northwest USA
Distribution: Debian
Posts: 10

Rep: Reputation: 0
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?
 
Old 04-09-2024, 09:25 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,337
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
This thread from the Ubuntu forums might be helpful.
 
Old 04-09-2024, 10:01 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
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.
 
Old 04-09-2024, 11:36 PM   #4
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,461
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
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]
        browseable = no
Followed by:
Code:
# systemctl restart smbd nmbd
Credit for this solution: https://forums.debian.net/viewtopic.php?t=154522
 
1 members found this post helpful.
Old 04-10-2024, 04:46 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,729

Rep: Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919Reputation: 5919
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.
 
Old 04-10-2024, 05:00 AM   #6
rpenny
Member
 
Registered: Jul 2019
Posts: 82

Rep: Reputation: Disabled
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'.
 
1 members found this post helpful.
Old 04-10-2024, 06:28 AM   #7
danabooth
LQ Newbie
 
Registered: Dec 2022
Location: Northwest USA
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks all, the
```
[nobody]
browseable = no
```
removed the "nobody" share from view
 
  


Reply

Tags
smb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Samba Mystery: Users with Group permissions get denied based on Other. Emiro Linux - General 8 07-07-2008 10:25 AM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration