Re: [Samba] any reliable way to discover Windows hostname over SMB2+?
- Date: Fri, 14 Jul 2017 08:22:24 +1200
- From: Jason Haar via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] any reliable way to discover Windows hostname over SMB2+?
On Fri, Jul 14, 2017 at 4:04 AM, Andrew Walker via samba <
> I forgot to mention in the previous email that smbclient works over SMB2.
> You just have increase the max protocol by adding the flag "-m SMB2".
> I.e. "smbclient -m SMB2 -L 18.104.22.168 -N -d10 2>&1|grep AvNbComputerName"
Doesn't work for me... This is samba-3.6.23-43.el6_9.x86_64 on CentOS6 and
in my opinion the "-m SMB2" option shows no evidence that it does anything.
If you point smbclient-3 at a Windows system that has SMB1 disabled, it
does not work - irrespective of the "-m" option. If you point smbclient-4
at the same server, it doesn't work either (default still "-m NT1"), but if
you give it "-m SMB2" it works fine
I know smbclient-v3 claims it supports SMB2, but that isn't the case at
least with the CentOS/RHEL 6 version...
Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
To unsubscribe from this list go to the following URL and read the