<div dir="ltr">hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 17, 2017 at 9:43 AM, Guenther Alka <span dir="ltr"><<a href="mailto:alka@hfg-gmuend.de" target="_blank">alka@hfg-gmuend.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="m_5127604586516540820gmail_signature">
<p><tt>OmniOS (151018+) supports SMB 2.1 per default.</tt><tt><br>
</tt><tt>You can check on serverside with sharectl get smb</tt><tt><br>
</tt><tt>(look for max_protocol) and reduce it via sharectrl set
-p max_protocol=1 smb</tt><tt> (+ restart smb)<br>
</tt></p>
</div></blockquote><div>That way you can downgrade the protocol to only accept smb v1, I think.<br><br></div><div>I do not know how to disable smb v1. Right now you can downgrade the connection to smbv1 from the client as well:<br><br>$ smbclient //zfstank/test -U anonymous --max-protocol=NT1<br>Enter anonymous's password: <br>Domain=[WORKGROUP] OS=[SunOS 5.11 omnios-r151022-f9693] Server=[Native SMB service]<br>smb: \> dir<br> . <wbr> DA 0 Thu Dec 1 07:00:55 2016<br> .. <wbr> DA 0 Thu Dec 1 07:00:55 2016<br> .zfs <wbr> D 0 Mon May 6 20:46:21 2013<br><br></div><div>There should be a way to disable smb v1 altogether, although it could break older equipment (printers, scanners, etc).<br><br></div></div>
</div></div>