{"id":328,"date":"2017-07-29T22:48:58","date_gmt":"2017-07-29T22:48:58","guid":{"rendered":"http:\/\/tomas.papp.me.uk\/?p=328"},"modified":"2017-07-29T22:49:12","modified_gmt":"2017-07-29T22:49:12","slug":"pomale-smb-na-macos","status":"publish","type":"post","link":"https:\/\/tomas.papp.me.uk\/?p=328","title":{"rendered":"Pomale SMB na MacOS"},"content":{"rendered":"<p>Zda sa, ze apple implementoval feature SMB packet signingu na MacOS, ktora rapidne zabija troughput<\/p>\n<p>na zistenie:<\/p>\n<p>With your share mounted &#8211; execute the following command from a Terminal:<\/p>\n<div class=\"highlighter-rouge\">\n<pre class=\"highlight\"><code>smbutil statshares -a\r\n<\/code><\/pre>\n<\/div>\n<p>You should get a list of fields for each share you have currently connected. Here are some values to pay attention to:<\/p>\n<ul>\n<li>SMB_VERSION &#8211; which SMB protocol version is active.<\/li>\n<li>SIGNING_SUPPORTED &#8211; this means the server side supports signing, it does NOT mean signing is on.<\/li>\n<li><strong>SIGNING_ON &#8211; if \u201ctrue\u201d then signing is actually on for this connection.<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Na vypnutie:<\/p>\n<p>&nbsp;<\/p>\n<p>Buried in one thread on the <a href=\"https:\/\/discussions.apple.com\/thread\/7565683?start=90&amp;tstart=0\">Apple Discussion Forum<\/a> is a suggestion to use the \/etc\/nsmb.conf file to disable client signing on the client end.<\/p>\n<div class=\"highlighter-rouge\">\n<pre class=\"highlight\"><code>[default]\r\nsigning_required=no\r\n<\/code><\/pre>\n<\/div>\n<p>After unmounting &amp; remounting the SMB share, I verified this returns transfer speeds to normal.<\/p>\n<p>You can do this in one single command as follows:<\/p>\n<div class=\"highlighter-rouge\">\n<pre class=\"highlight\"><code>printf \"[default]\\nsigning_required=no\\n\" | sudo tee \/etc\/nsmb.conf &gt;\/dev\/null\r\n<\/code><\/pre>\n<\/div>\n<p>Then unmount and remount any SMB shares.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Zda sa, ze apple implementoval feature SMB packet signingu na MacOS, ktora rapidne zabija troughput na zistenie: With your share mounted &#8211; execute the following command from a Terminal: smbutil statshares -a You should get a list of fields for each share you have currently connected. Here are some values to pay attention to: SMB_VERSION [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6],"tags":[],"class_list":["post-328","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-security"],"_links":{"self":[{"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=328"}],"version-history":[{"count":1,"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=\/wp\/v2\/posts\/328\/revisions"}],"predecessor-version":[{"id":329,"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=\/wp\/v2\/posts\/328\/revisions\/329"}],"wp:attachment":[{"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomas.papp.me.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}