# [OmniOS-discuss] What version of SMB

Natxo Asenjo natxo.asenjo at gmail.com
Thu May 18 19:56:12 UTC 2017

- Previous message: [OmniOS-discuss] What version of SMB
- Next message: [OmniOS-discuss] Test
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    hi,

    On Wed, May 17, 2017 at 9:43 AM, Guenther Alka <alka at hfg-gmuend.de> wrote:

    > OmniOS (151018+) supports SMB 2.1 per default.
    > You can check on serverside with sharectl get smb
    > (look for max_protocol) and reduce it via sharectrl set -p max_protocol=1
    > smb (+ restart smb)
    >
    That way you can downgrade the protocol to only accept smb v1, I think.

    I do not know how to disable smb v1. Right now you can downgrade the
    connection to smbv1 from the client as well:

    $ smbclient //zfstank/test -U anonymous --max-protocol=NT1
    Enter anonymous's password:
    Domain=[WORKGROUP] OS=[SunOS 5.11 omnios-r151022-f9693] Server=[Native SMB
    service]
    smb: \> dir
      .                                  DA        0  Thu Dec  1 07:00:55 2016
      ..                                 DA        0  Thu Dec  1 07:00:55 2016
      .zfs                                D        0  Mon May  6 20:46:21 2013

    There should be a way to disable smb v1 altogether, although it could break
    older equipment (printers, scanners, etc).
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20170518/3665e7e1/attachment.html>

- Previous message: [OmniOS-discuss] What version of SMB
- Next message: [OmniOS-discuss] Test
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list