On Sun, 2018-01-14 at 23:16 +0800, Ed Greshko wrote:
> On 01/14/18 23:11, Patrick O'Callaghan wrote:
> > On Sun, 2018-01-14 at 08:57 -0600, Rex Dieter wrote:
> > > Patrick O'Callaghan wrote:
> > > 
> > > > I have a Samba server running on a NAS, but according to my Windows VM
> > > > it's running SMB1 and is thus insecure, so Windows won't connect to it.
> > > > 
> > > > I've added the line "min protocol = SMB2" to the smb.conf file and
> > > > restarted the service, but Windows remains unconvinced.
> > > > 
> > > > What else do I need to do? Is there an easy way to ping the server
> > > > (from Linux) and check what protocol it's using? Note that Linux has no
> > > > problem connecting to the server.
> > > 
> > > An excellent question for a samba support forum (and mention what version 
> > > of 
> > > samba you're using).
> > > 
> > > One option:
> > > https://lists.samba.org/mailman/listinfo/samba
> > 
> > Sure. I recognise that this isn't a Fedora issue, however I've had some
> > luck with Samba questions here in the past so I thought I'd check first
> > in case it's something obvious. Not really interested in becoming a
> > Samba expert ...
> > 
> > The Samba version is 3.2.15.
> > 
> 
> OK....
> 
> I found the way to list the versions being offered by a remote service.
> 
> nmap -p445 --script smb-protocols <target system>
> 
> Example, for my NAS....
> 
> [root@meimei ~]# nmap -p445 --script smb-protocols ds
> [...]

I get:

    PORT    STATE SERVICE
    445/tcp open  microsoft-ds

    Host script results:
    | smb-protocols: 
    |   dialects: 
    |_    NT LM 0.12 (SMBv1) [dangerous, but default]

So clearly the config option isn't being used, or doesn't do what I
thought it did. I'll investigate further.

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to