{"id":55,"date":"2023-09-19T23:20:20","date_gmt":"2023-09-19T14:20:20","guid":{"rendered":"http:\/\/blog.takeh.org\/?p=55"},"modified":"2023-09-26T05:31:21","modified_gmt":"2023-09-25T20:31:21","slug":"cephfs%e3%82%92%e5%88%a9%e7%94%a8%e3%81%99%e3%82%8bwindows-samba%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/blog.takeh.org\/?p=55","title":{"rendered":"CephFS\u3092\u5229\u7528\u3059\u308b(Windows\/Samba\u7de8)"},"content":{"rendered":"\n<p>\u3068\u3044\u3046\u3053\u3068\u3067<a href=\"http:\/\/blog.takeh.org\/?p=52\">\u524d\u306e\u8a18\u4e8b<\/a>\u306e\u7d9a\u304d\u3002CephFS\u3092\u4f5c\u3063\u305f\u306f\u826f\u3044\u3051\u3069\u3001Windows\u304b\u3089\u3069\u3046\u3084\u3063\u3066\u5229\u7528\u3057\u3088\u3046\u3001\u3068\u3044\u3046\u8a71\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067\u3001\u30aa\u30fc\u30d0\u30d8\u30c3\u30c9\u306f\u3042\u308b\u3051\u3069\u3001Samba\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u624b\u9806\u306f\u4ee5\u4e0b\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Samba\u30b5\u30fc\u30d0\u7528\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u3001\u30de\u30a6\u30f3\u30c8\u3055\u308c\u3066\u3044\u308bCephFS\u3092\u30b3\u30f3\u30c6\u30ca\u5185\u304b\u3089\u898b\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u3002<\/li>\n\n\n\n<li>Samba\u30b5\u30fc\u30d0\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u8a2d\u5b9a\u3059\u308b\u3002<\/li>\n\n\n\n<li>\u8a8d\u8a3c\u7528\u30e6\u30fc\u30b6\u3092\u767b\u9332\u3057\u3066Windows\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002(Windows11\u3092\u60f3\u5b9a)<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30ca\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>Ceph\u2192\u30db\u30b9\u30c8\u30ab\u30fc\u30cd\u30eb\u2192\u30b3\u30f3\u30c6\u30ca\u2192samba\u3068\u6bb5\u968e\u304c\u6df1\u304f\u306a\u308b\u305f\u3081\u3001\u306a\u308b\u3079\u304f\u9ad8\u901f\u306b\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u3001OSD\u304c\u3044\u308bCeph\u30b5\u30fc\u30d0\u4e0a\u3067\u52d5\u304b\u3057\u305f\u3002\u30b3\u30f3\u30c6\u30ca\u306f\u4f55\u3067\u3082\u3088\u3044\u306e\u3060\u304c\u3001Debian12\u3067\u4f5c\u6210\u3057\u305f\u3002\u3053\u3053\u3067\u3001\u666e\u901a\u306b\u4f5c\u308b\u3068\u30db\u30b9\u30c8\u5074\u306eCephFS\u306f\u53c2\u7167\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u3092\u30b3\u30f3\u30c6\u30ca\u8a2d\u5b9a\u306b\u5165\u308c\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo \/etc\/pve\/nodes\/&lt;em>&amp;lt;node_name&amp;gt;&lt;\/em>\/&lt;em>&amp;lt;container_id&amp;gt;&lt;\/em>.conf<\/pre>\n\n\n\n<p>\u30ce\u30fc\u30c9\u540d\u3068\u30b3\u30f3\u30c6\u30ca\u540d\u306f\u74b0\u5883\u306b\u5408\u308f\u305b\u308b\u3002\u3053\u3053\u306b\u4ee5\u4e0b\u306e\u4e00\u6587\u3092\u8ffd\u52a0\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">mp0: \/mnt\/pve\/cephfs,mp=\/cephfs<\/pre>\n\n\n\n<p>mp0\u306f\u3001mount point\u306e\u7565\u30020\u306f\u3001\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8ID\u3067\u30bc\u30ed\u4ee5\u4e0a\u6574\u6570\u3002\u6700\u521d\u306e\u30d1\u30b9\u306f\u30db\u30b9\u30c8\u306ecephfs\u306e\u4f4d\u7f6e\u3067\u3001mp=\u4ee5\u4e0b\u306f\u30b3\u30f3\u30c6\u30ca\u5074\u306e\u30de\u30a6\u30f3\u30c8\u30dd\u30a4\u30f3\u30c8\u3002\u3053\u306e\u30dd\u30a4\u30f3\u30c8\u306f\u30b3\u30f3\u30c6\u30ca\u5074\u3067\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Samba\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u30b3\u30f3\u30c6\u30ca\u5074\u3067samba\u3092\u5c0e\u5165\u3057\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30ebsmb.conf\u3092\u8a2d\u5b9a\u3059\u308b\u3002(\u305d\u306e\u524d\u306b\u30e6\u30fc\u30b6\u306e\u4f5c\u6210\u3068apt update\/upgrade\u3092\u3059\u307e\u305b\u3066\u3042\u308b)<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo apt install samba\n&lt;\u4e2d\u7565>\n$ sudo vi \/etc\/samba\/smb.conf<\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u884c\u3063\u305f\u8a2d\u5b9a\u306f\u4ee5\u4e0b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0d\u8981\u306a\u8a2d\u5b9a\u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8<\/li>\n\n\n\n<li>WORKGROUP (Windows\u74b0\u5883\u306b\u5408\u308f\u305b\u308b)<\/li>\n\n\n\n<li>\u30d7\u30ed\u30c8\u30b3\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3 (Windows11\u304cSMB1\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u3044\u305f\u3081)<\/li>\n\n\n\n<li>\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u8a2d\u5b9a<\/li>\n<\/ul>\n\n\n\n<p>\u516c\u958b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u8a2d\u5b9a\u306f\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u3002\u3053\u308c\u306f\u307e\u3042\u3001\u3069\u3053\u306b\u3067\u3082\u4f8b\u304c\u8f09\u3063\u3066\u3044\u308b\u306e\u3067\u597d\u304d\u306b\u8a2d\u5b9a\u3059\u308c\u3070\u3088\u3044\u3002\u5192\u982d\u306e[]\u3067\u304f\u304f\u3063\u305f\u4e2d\u306ecephfs\u304c\u516c\u958b\u540d\u306b\u306a\u308b\u3002path\u306b\u8a18\u8f09\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u304c\u516c\u958b\u3055\u308c\u308b\u3002CephFS\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3060\u3068\u66f8\u304d\u8fbc\u307f\u306broot\u6a29\u9650\u304c\u5fc5\u8981\u306a\u305f\u3081\u3001rwx\u5c5e\u6027\u3092\u4ed8\u4e0e\u3057\u305f\u516c\u958b\u7528\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u5148\u306b\u4f5c\u6210\u3057\u3066\u8d77\u304d\u3001\u3053\u306e\u4e0b\u3092samba\u3067\u516c\u958b\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u3053\u308c\u3067\u3001Windows\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u4e00\u822c\u30e6\u30fc\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[cephfs]\ncomment = CephFS\npath = \/cephfs\/samba_fs\/\nbrowsable = yes\nread only = no\nwritable = yes\ncreate mask = 0777\ndirectory mask = 0777<\/pre>\n\n\n\n<p>\u4eca\u56de\u4e00\u756a\u306e\u96e3\u95a2\u306f\u3001\u30d7\u30ed\u30c8\u30b3\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3002\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u6b21\u306e\u4e00\u884c\u3092\u52a0\u3048\u308c\u3070\u3088\u3044\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">server min protocol = SMB3<\/pre>\n\n\n\n<p>\u3053\u308c\u306f\u3001\u6700\u8fd1\u306eWindows\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u7406\u7531\u304b\u3089SMB1\u3092\u62d2\u5426\u3059\u308b(\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044)\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306b\u3082\u95a2\u308f\u3089\u305a\u3001samba\u306f\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089negotiation\u3059\u308b\u304b\u3089\u3089\u3057\u3044\u3002\u305d\u3053\u3067\u3001SMB3\u4ee5\u4e0a\u3092\u5f37\u5236\u3059\u308c\u3070Windows11\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002\u3053\u308c\u306f\u3001default\u306esmb.conf\u306b\u306f\u66f8\u304b\u308c\u3066\u3044\u306a\u3044\u306e\u3067\u63a2\u3059\u306e\u306b\u82e6\u52b4\u3057\u305f\u3002\u3061\u306a\u307f\u306b\u3001\u79c1\u306e\u74b0\u5883\u3067\u306fSMB1\u306e\u30cd\u30b4\u30b7\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u51fa\u308b\u30a8\u30e9\u30fc\u306f\u300c\u30a2\u30af\u30bb\u30b9\u304c\u62d2\u5426\u3055\u308c\u307e\u3057\u305f\u300d\u8a73\u7d30\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u30680x80004005 \u30a8\u30e9\u30fc\u3092\u7279\u5b9a\u3067\u304d\u307e\u305b\u3093\u3001\u3068\u51fa\u308b\u3002\u3053\u308c\u3067\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3078\u306f\u77e5\u3089\u306a\u3044\u3068\u305f\u3069\u308a\u7740\u3051\u306a\u3044\u3002\u3002\u3002<\/p>\n\n\n\n<p>Samba\u958b\u767a\u5143\u306b\u3088\u308b\u3053\u306e\u9805\u76ee\u306e\u516c\u5f0f\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u306f<a href=\"https:\/\/www.samba.org\/samba\/docs\/current\/man-html\/smb.conf.5.html#SERVERMINPROTOCOL\">\u3053\u3053<\/a>(<a href=\"http:\/\/www.samba.gr.jp\/project\/translation\/current\/htmldocs\/manpages\/smb.conf.5.html#SERVERMINPROTOCOL\">\u65e5\u672c\u8a9e\u8a33<\/a>)\u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u610f\u5473\u306f\u3001server max protocol\u306e\u307b\u3046\u306b\u66f8\u3044\u3066\u3042\u308b\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li><code>LANMAN1<\/code>: \u6700\u521d\u306e&nbsp;<em>\u8fd1\u4ee3\u7684\u306a<\/em>&nbsp;\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308a\u3001\u9577\u3044\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u3002<\/li>\n\n\n\n<li><code>LANMAN2<\/code>: LANMAN1 \u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u6539\u826f\u3057\u305f\u3082\u306e\u3067\u3042\u308b\u3002<\/li>\n\n\n\n<li><code>NT1<\/code>: \u6700\u65b0\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3042\u308a\u3001Windows NT\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u3002CIFS \u3068\u3057\u3066\u3082\u77e5\u3089\u308c\u3066\u3044\u308b\u3002<\/li>\n\n\n\n<li><code>SMB2<\/code>: SMB\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u5b9f\u88c5\u3057\u306a\u304a\u3057\u305f\u3082\u306e\u3067\u3001 Windows Vista\u4ee5\u964d\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u3002SMB2\u306b\u306f\u5e7e\u3064\u304b\u306e\u30b5\u30d6\u30d7\u30ed\u30c8\u30b3\u30eb\u304c \u5b58\u5728\u3059\u308b\u3002<ul><li><code>SMB2_02<\/code>: \u6700\u521d\u671f\u306e SMB2 \u30d7\u30ed\u30c8\u30b3\u30eb<\/li><li><code>SMB2_10<\/code>: Windows 7 \u306e SMB2 \u30d7\u30ed\u30c8\u30b3\u30eb<\/li><\/ul>aSMB2 \u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f SMB2_10 \u304c\u9078\u629e\u3055\u308c\u308b\u3002<\/li>\n\n\n\n<li><code>SMB3<\/code>: SMB2\u3068\u540c\u3058\u304f\u3001SMB\u30d7\u30ed\u30c8\u30b3\u30eb\u3092\u5b9f\u88c5\u3057\u76f4\u3057\u305f\u3082\u306e\u3067\u3042\u308a\u3001 Windows 8 \u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u3002 SMB3 \u306b\u3082\u30b5\u30d6\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u5b58\u5728\u3059\u308b\u3002<ul><li><code>SMB3_00<\/code>: Windows 8 \u306e SMB3 \u30d7\u30ed\u30c8\u30b3\u30eb\u3002<\/li><li>SMB3 \u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f SMB3_00 \u304c\u9078\u629e\u3055\u308c\u308b\u3002<\/li><li><code>SMB3_02<\/code>: Windows 8.1 \u306e SMB3 \u30d7\u30ed\u30c8\u30b3\u30eb<\/li><li><code>SMB3_11<\/code>: Windows 10 SMB3 \u30d0\u30fc\u30b8\u30e7\u30f3\u3002<\/li><\/ul>SMB3 \u306e\u65e2\u5b9a\u5024\u306f SMB3_11 \u3067\u3042\u308b\u3002<\/li>\n<\/ul>\n<cite>http:\/\/www.samba.gr.jp\/project\/translation\/current\/htmldocs\/manpages\/smb.conf.5.html#SERVERMAXPROTOCOL<\/cite><\/blockquote>\n\n\n\n<p>\u81ea\u5b85\u74b0\u5883\u3067\u306fWindows10\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3059\u3089\u306a\u3044(\u4f1a\u793e\u306ePC\u306fWindows10\u3060\u3051\u3069)\u306e\u3067\u3001SMB3(=SMB3_11)\u306b\u3057\u305f\u3002\u3053\u3053\u306f\u3069\u308c\u3060\u3051\u53e4\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u7e4b\u3052\u308b\u304b\u3067\u6c7a\u3081\u308b\u3068\u3053\u308d\u3002\u3061\u306a\u307f\u306b\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u3067\u306f\u4ee5\u4e0b\u306e\u8a18\u8ff0\u304c\u3042\u308b\u304c\u3001\u5168\u7136\u3001\u305d\u3093\u306a\u3053\u3068\u306f\u306a\u3044\u3002\u3044\u3084\u3001\u672c\u5f53\u3001<a href=\"https:\/\/www.osstech.co.jp\/support\/samba2023-2-1\/\">\u3053\u3093\u306a\u30da\u30fc\u30b8<\/a>\u3082\u3042\u308b\u3057\u3001Samba\u3068Windows\u306f\u4ef2\u304c\u60aa\u3044\u3089\u3057\u3044\u3002(\u5197\u8ac7\u3067\u3059\u3088)<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u901a\u5e38\u306f\u3001SMB \u30d7\u30ed\u30c8\u30b3\u30eb\u306e\u81ea\u52d5\u30cd\u30b4\u30b7\u30a8\u30fc\u30b7\u30e7\u30f3\u30d5\u30a7\u30fc\u30ba\u306b\u3088\u308a \u9069\u5207\u306a\u30d7\u30ed\u30c8\u30b3\u30eb\u304c\u9078\u629e\u3055\u308c\u308b\u305f\u3081\u3001SMB1 \u3057\u304b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u53e4\u3044\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092 \u4f7f\u3046\u5834\u5408\u3092\u9664\u304d\u3001\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u306f\u306a\u3044\u3002<\/p>\n<cite>http:\/\/www.samba.gr.jp\/project\/translation\/current\/htmldocs\/manpages\/smb.conf.5.html#SERVERMINPROTOCOL<\/cite><\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Samba\u30e6\u30fc\u30b6\u306e\u767b\u9332<\/h3>\n\n\n\n<p>\u3053\u308c\u3067\u3001Windows\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3001\u3068\u601d\u3044\u304d\u3084\u3001\u3082\u3046\u4e00\u3064\u95a2\u9580\u304c\u3042\u308b\u3002\u305d\u308c\u304c\u30e6\u30fc\u30b6\u306e\u767b\u9332\u3002\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3092\u516c\u958b\u3059\u308b\u3001\u3068\u3044\u3046\u30b3\u30f3\u30bb\u30d7\u30c8\u306b\u7531\u6765\u3057\u3066Samba\u306e\u8a8d\u8a3c\u306fDebian\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u8a2d\u5b9a\u3067\u306fOS\u8a8d\u8a3c\u3068\u4e00\u4f53\u5316\u3057\u3066\u3044\u308b\u3002(Samba\u30c7\u30d5\u30a9\u30eb\u30c8\u306fno\u306e\u3088\u3046\u3067\u3042\u308b\u304c)<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># This boolean parameter controls whether Samba attempts to sync the Unix\n# password with the SMB password when the encrypted SMB password in the\n# passdb is changed.\n   unix password sync = yes\n<\/pre>\n\n\n\n<p>\u305f\u3060\u3057\u3001\u8a8d\u8a3cDB\u306f\u5225\u306b\u6301\u3063\u3066\u304a\u308a\u3001\u3053\u3053\u306b\u30e6\u30fc\u30b6\u767b\u9332\u304c\u5fc5\u8981\u3002\u4e00\u6614\u524d\u306f\u3053\u306e\u64cd\u4f5c\u306f<a href=\"https:\/\/www.samba.org\/samba\/docs\/current\/man-html\/smbpasswd.8.html\">smbpasswd(8)<\/a>\u3067\u884c\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u305f\u304c\u3001\u30d1\u30b9\u30ef\u30fc\u30c9DB\u3067\u306e\u8a8d\u8a3c\u4ee5\u5916\u306e\u69d8\u3005\u306a\u8a8d\u8a3c\u624b\u6bb5\u304c\u5897\u3048\u3066\u304d\u305f\u3053\u3068\u3082\u3042\u308a\u3001\u62bd\u8c61\u5316\u306e\u30ec\u30a4\u30e4\u304c\u4e00\u6bb5\u3042\u304c\u3063\u3066\u3001\u65b0\u3057\u304f<a href=\"https:\/\/www.samba.org\/samba\/docs\/current\/man-html\/pdbedit.8.html\">pdbedit(8)<\/a>(<a href=\"http:\/\/www.samba.gr.jp\/project\/translation\/current\/htmldocs\/manpages\/pdbedit.8.html\">\u65e5\u672c\u8a9e\u8a33<\/a>)\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u304c\u3067\u304d\u305f\u3002\u8ffd\u52a0\u306f-a\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u884c\u3046\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo pdfedit -a -u &lt;em>user_name&lt;\/em><\/pre>\n\n\n\n<p>\u30de\u30cb\u30e5\u30a2\u30eb\u5185\u3067\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u66f8\u304d\u9806\u306e\u610f\u56f3\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044(\u7d20\u76f4\u306b\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u9806\u306b\u3059\u308b\u304b\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u9806\u306b\u3059\u308c\u3070\u3088\u3044\u306e\u306b\u5fae\u5999\u306b\u305d\u3046\u306a\u3063\u3066\u3044\u306a\u3044)\u3051\u3069\u3001\u771f\u3093\u4e2d\u304f\u3089\u3044\u306b\u8a18\u8ff0\u304c\u3042\u308b\u3002\u5b9f\u884c\u6642\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u304c\u3001Debian\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u5909\u66f4\u3057\u306a\u3044\u3068\u4e0a\u8a18\u306e\u3088\u3046\u306bOS\u8a8d\u8a3c\u60c5\u5831\u3068\u540c\u671f\u3057\u3088\u3046\u3068\u3059\u308b\u306e\u3067\u7d20\u76f4\u306bOS\u8a8d\u8a3c\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u308c\u3066\u304a\u304f\u3002smbpasswd(8)\u3067\u306f\u5373\u540c\u671f\u3057\u3066\u3044\u305f\u304c\u3001\u4e8b\u6545\u304c\u591a\u3044\u306e\u304b\u3001\u540c\u671f\u8a2d\u5b9a\u3092\u5165\u308c\u3066\u3044\u3066\u3082\u4f5c\u6210\u6642\u306e\u307f\u540c\u671f\u306f\u3055\u308c\u306a\u3044\u3001\u3068\u3044\u3046\u5fae\u5999\u306a\u4ed5\u69d8\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u3044\u3084\u3044\u3084\u3001\u610f\u5916\u3068\u9577\u304f\u306a\u3063\u305f\u3002\u3053\u308c\u3067\u7d42\u4e86\u3001\u3068\u601d\u3044\u304d\u3084\u3001Samba\u306e\u30de\u30cb\u30e5\u30a2\u30eb\u3092\u659c\u3081\u8aad\u307f\u3057\u305f\u3053\u3068\u3067\u3001\u3053\u306e\u3084\u308a\u65b9\u306f\u672c\u6765\u306e\u610f\u56f3\u3068\u9055\u3046\u3053\u3068\u306b\u6c17\u304c\u4ed8\u3044\u305f\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u6b21\u56de\u306f\u3001\u3053\u306e\u65b9\u6cd5\u3068\u306f\u9055\u3046\u65b9\u6cd5\u3092\u8a66\u3057\u3066\u307f\u308b\u3002<\/p>\n\n\n\n<p>\u8ffd\u8a18:<br>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eWindows\u3067CrystalDiskMark\u3092\u52d5\u304b\u3057\u305f\u3068\u3053\u308dsamba\u304c\u30d5\u30ea\u30fc\u30ba\u3057\u3066\u3057\u307e\u3044\u3001\u5bfe\u5fdc\u306b\u304b\u306a\u308a\u56f0\u3063\u305f\u3002\u539f\u56e0\u306f\u5207\u308a\u5206\u3051\u3066\u3044\u306a\u3044\u304c\u3001\u3053\u306e\u65b9\u6cd5\u306f\u3084\u3081\u3066\u304a\u3044\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3002\u2192 <a href=\"http:\/\/blog.takeh.org\/?p=63\">\u7d50\u5c40<\/a>\u3001oplocks = no\u3092\u4ed8\u4e0e\u3057\u3066\u4f7f\u3046\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3068\u3044\u3046\u3053\u3068\u3067\u524d\u306e\u8a18\u4e8b\u306e\u7d9a\u304d\u3002CephFS\u3092\u4f5c\u3063\u305f\u306f\u826f\u3044\u3051\u3069\u3001Windows\u304b\u3089\u3069\u3046\u3084\u3063\u3066\u5229\u7528\u3057\u3088\u3046\u3001\u3068\u3044\u3046\u8a71\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067\u3001\u30aa\u30fc\u30d0\u30d8\u30c3\u30c9\u306f\u3042\u308b\u3051\u3069\u3001Samba\u30b5\u30fc\u30d0\u3092\u7acb\u3066\u308b\u3053\u3068\u306b\u3057\u305f\u3002\u624b\u9806\u306f\u4ee5\u4e0b\u3002 \u30b3\u30f3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[13,12,7,14,15],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-homelab","tag-ceph","tag-lxc","tag-proxmox","tag-samba","tag-windows11"],"_links":{"self":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=55"}],"version-history":[{"count":8,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/55\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}