[Samba] Share won't mount -- how to debug?

Patrick Goetz pgoetz at math.utexas.edu
Wed Nov 3 19:32:34 UTC 2021



On 11/3/21 14:10, Rowland Penny via samba wrote:
> On Wed, 2021-11-03 at 18:58 +0000, Rowland Penny via samba wrote:
>> On Wed, 2021-11-03 at 13:32 -0500, Patrick Goetz via samba wrote:
>>> On 11/3/21 12:45, Rowland Penny via samba wrote:
>>>> On Wed, 2021-11-03 at 11:45 -0500, Patrick Goetz via samba wrote:
>>>>> And the dramatic conclusion is that no, it wasn't the
>>>>> conflicting
>>>>> group
>>>>> name interfering with the mount:
>>>>
>>>> OK, if you run this from the DC:
>>>>
>>>> ping -c1 data2
>>>>
>>>> Does it work ?
>>>>
>>>
>>> Yes:
>>> root at samba-dc:~# ping -c1 data2
>>> PING data2.ea.linuxcs.com (192.168.1.81) 56(84) bytes of data.
>>> 64 bytes from 192.168.1.81 (192.168.1.81): icmp_seq=1 ttl=64
>>> time=0.514 ms
>>>
>>>
>>>> Then (again on the DC):
>>>>
>>>> smbclient -NL data2
>>>>
>>>> What does that produce ?
>>>
>>> root at samba-dc:~# smbclient -NL data2
>>> Anonymous login successful
>>>
>>> 	Sharename       Type      Comment
>>> 	---------       ----      -------
>>> 	share           Disk      Share Directory
>>> 	software        Disk      Location for .msi files to be
>>> automatically
>>> installed by AD
>>> 	IPC$            IPC       IPC Service (Samba 4.15.1-Debian)
>>> SMB1 disabled -- no workgroup available
>>>
>>>
>>> However, one of the shares I set up is inexplicably missing from
>>> this
>>> list:
>>>
>>> [home]
>>>      comment = Home Directories
>>>      path = /data/home
>>>      guest ok = no
>>>      browseable = no
>>>      writeable = yes
>>>      create mask = 0700
>>>      directory mask = 0700
>>>      follow symlinks = yes
>>>
>>>
>>
>> Strange, it should show, I will do some tests
> 
> And then as I created the share, I realised what the problem was. You
> are telling Samba to not show the share:
> 
> browseable = no
> 

bug becomes a feature.  Thanks for figuring this out.



> Rowland
> 
> 
> 



More information about the samba mailing list