[Samba] Samba browsing question
Rowland penny
rpenny at samba.org
Thu Feb 11 14:32:33 UTC 2021
On 11/02/2021 14:16, Anders Östling via samba wrote:
> Hi
>
> On an Debian 10/4.595 samba member server, I get the following output using smbclient
>
> root at fs1-hplts:/var/log/samba# smbclient -L fs1-hplts -N -UAdministrator
>
> Sharename Type Comment
> --------- ---- -------
> Users Disk User home directories
> Documents Disk Shared documents
> Setup Disk Setup applications
> Legacy Disk Legacy applications (DOS & 16-bit)
> Robotics Disk Industrial systems
> IPC$ IPC IPC Service ("Fileserver Samba4 fs1-hplts")
> SMB1 disabled -- no workgroup available
> root at fs1-hplts:/var/log/samba#
>
> and
>
> root at fs1-hplts:/var/log/samba# smbclient -L localhost -N -UAdministrator
> session setup failed: NT_STATUS_LOGON_FAILURE
>
> root at fs1-hplts:/var/log/samba# ping localhost
> PING localhost(localhost (::1)) 56 data bytes
> 64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.050 ms
>
> Q1: Is the fact that localhost does not respond to a listing request a potential problem?
Yes, but it appears to be trying to use IPv6 instead of IPv4
>
> Also, same command on an AD DC that have a couple of shares gives this
>
> root at dc2-hplts:/var/log/samba# smbclient -L localhost -N
> Anonymous login successful
>
> Sharename Type Comment
> --------- ---- -------
> netlogon Disk
> sysvol Disk
> profiles Disk
> IPC$ IPC IPC Service (Samba 4.9.5-Debian)
> Reconnecting with SMB1 for workgroup listing.
> Anonymous login successful
>
> Server Comment
> --------- -------
>
> Workgroup Master
> --------- -------
> WORKGROUP
>
> Q2: “Reconnecting with SMB1”? And Workgroup WORKGROUP?
>
>
Samba 4.9.5 uses SMBv1 by default but from 4.11.0 the default is now
SMBv2. Are you sure that the one with 'SMB1 disabled' is still running
4.9.5 ?
Rowland
More information about the samba
mailing list