{"id":2344,"date":"2021-11-05T13:12:59","date_gmt":"2021-11-05T04:12:59","guid":{"rendered":"https:\/\/sirius10.net\/blog\/wordpress\/?p=2344"},"modified":"2021-11-05T13:13:01","modified_gmt":"2021-11-05T04:13:01","slug":"post-2344","status":"publish","type":"post","link":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/2021\/11\/05\/2344\/","title":{"rendered":"PCManFM \u3067 NAS \u306e\u5171\u6709\u3092\u958b\u304f"},"content":{"rendered":"\n<p>\u3000PCManFM \u3067 smb \u5171\u6709\u3092\u958b\u304f\u3088\u3046\u306b\u51fa\u6765\u307e\u3057\u305f\u304c\u3001\u53e4\u3044 NAS \u306e\u5171\u6709\u304c\u958b\u3051\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3000\u53e4\u3044 NAS \u306a\u306e\u3067\u3001smb \u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3082\u53e4\u3044\u305f\u3081\u3067\u3059\u3002\u8abf\u3079\u3066\u307f\u308b\u3068\u3001PCManFM \u304c\u4f7f\u7528\u3059\u308b gvfs \u3067\u306f\u3001libsmbclient \u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001samba \u306e\u8a2d\u5b9a\u3092\u5909\u3048\u3066\u3084\u308c\u3070\u3044\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u8a2d\u5b9a\u306e\u5909\u66f4\u65b9\u6cd5\u306f\u3001\/etc\/samba\/smb.conf \u3092\u4fee\u6b63\u3059\u308b\u65b9\u6cd5\u3068\u3001~\/.smb\/smb.conf.append \u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000libsmbclient \u3092\u4f7f\u3046\u3088\u3046\u306a\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3001smbclient \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted console\">$ sudo apt install smbclient<br>\u30fb<br>\u30fb<br>$ smbclient -L \u30db\u30b9\u30c8\u540d -N<br>protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED<\/pre>\n\n\n\n<p>\u3000\u8a66\u3057\u3066\u307f\u308b\u3068\u3001\u300cprotocol negotiation failed \u30fb\u30fb\u30fb\u300d\u3068\u306a\u308a\u3001\u7e4b\u304c\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3000\u307e\u305a\u3001\/etc\/samba\/smb.conf \u3092\u4fee\u6b63\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u6307\u5b9a\u306f\u6b21\u306e\u3088\u3046\u306b\u3059\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted file\">client max protocol = xxx<br>client min protocol = xxx<\/pre>\n\n\n\n<p>\u3000xxx \u306f\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3001CORE, NT1, SMB2_XX, SMB3_XX \u304c\u4f7f\u3048\u308b\u3088\u3046\u3067\u3059\u3002XX \u306f\u30b5\u30d6\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u6570\u5b57\u304c\u5165\u308a\u307e\u3059\u3002SMB2 \u306f samba Ver.3.5(6) \u3067\u3057\u304b\u4f7f\u3048\u306a\u3044\u3088\u3046\u3067\u3059\u3002Ver.4 \u4ee5\u964d\u3067\u306f\u3001SMB2_XX, SMB3_XX \u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000Windows10 \u306e\u5171\u6709\u3082\u4f7f\u3044\u305f\u3044\u306e\u3067\u3001client max protocol \u306f\u6307\u5b9a\u305b\u305a\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u307e\u307e\u306b\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u3001\u6700\u65b0\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000NAS \u306b\u3064\u306a\u3052\u308b\u305f\u3081\u306b\u306f\u3001client min protocol \u3092 CORE \u307e\u305f\u306f\u3001NT1 \u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002client min protocol \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001SMB2_02 \u306e\u3088\u3046\u3067\u3057\u305f\u3002<br>.<br>\u3000\/etc\/samba\/smb.conf \u306e [global] \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted file\">lient min protocol = NT1<\/pre>\n\n\n\n<p>\u3000\u3053\u306e\u72b6\u614b\u3067 smbclient \u304c\u7e4b\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted console\">$ smbclient -L \u30db\u30b9\u30c8\u540d -N\n\tSharename       Type      Comment\n\t---------       ----      -------\n\tShare           Disk      Share to All\n\tWEB             Disk      WEB\n\tDownload        Disk      BitTorrent Download Folder\n\tTorrent         Disk      Torrent File Folder\n\tVideo           Disk      VIDEO Data\n\tIPC$            IPC       IPC Service (PlanexNAS-01G)\n\tADMIN$          IPC       IPC Service (PlanexNAS-01G)\nReconnecting with SMB1 for workgroup listing.\n\u30fb\n\u30fb<\/pre>\n\n\n\n<p>\u3000PCManFM \u304b\u3089\u3082 NAS \u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3000\u6b21\u306b\u3001\/etc\/samba\/smb.conf \u306f\u3082\u3068\u306b\u623b\u3057\u3066\u3001~\/.smb\/smb.conf.append \u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted console\">$ mkdir ~\/.smb<br>$ vi ~\/.smb\/smb.conf.append<\/pre>\n\n\n\n<p>\u3000\u5185\u5bb9\u306f\u6b21\u306e 2 \u884c\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted file\">[global]\nclient min protocol = NT1<\/pre>\n\n\n\n<p>\u3000PCManFM \u306f\u3053\u308c\u3067\u3082\u3064\u306a\u304c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3000\u3057\u304b\u3057\u3001smbclient \u306e\u65b9\u306f\u3001\u3053\u308c\u3067\u306f\u7e4b\u304c\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002libsmbclient \u3068\u306f\u5c11\u3057\u52d5\u4f5c\u304c\u9055\u3046\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u30b7\u30b9\u30c6\u30e0\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3042\u307e\u308a\u5909\u3048\u305f\u304f\u306a\u3044\u306e\u3067\u3001~\/.smb\/smb.conf.append \u3067 PCManFM \u3092\u4f7f\u3046\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3000PCManFM \u3067 smb \u5171\u6709\u3092\u958b\u304f\u3088\u3046\u306b\u51fa\u6765\u307e\u3057\u305f\u304c\u3001\u53e4\u3044 NAS \u306e\u5171\u6709\u304c\u958b\u3051\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002 \u3000\u53e4\u3044 NAS \u306a\u306e\u3067\u3001smb \u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3082\u53e4\u3044\u305f\u3081\u3067\u3059\u3002\u8abf\u3079\u3066\u307f\u308b\u3068\u3001PCManFM \u304c\u4f7f\u7528\u3059\u308b gvfs \u3067\u306f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2344","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/2344","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=2344"}],"version-history":[{"count":4,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/2344\/revisions"}],"predecessor-version":[{"id":2353,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/2344\/revisions\/2353"}],"wp:attachment":[{"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=2344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=2344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sirius10.net\/blog\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=2344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}