{"id":1541,"date":"2007-02-06T17:44:00","date_gmt":"2007-02-06T17:44:00","guid":{"rendered":"http:\/\/gleamynode.net\/articles\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters"},"modified":"2022-12-28T01:46:37","modified_gmt":"2022-12-27T16:46:37","slug":"a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters","status":"publish","type":"post","link":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/","title":{"rendered":"A Samba smbpasswd problem with passwords longer than 14 characters"},"content":{"rendered":"\n

\ud328\uc2a4\uc6cc\ub4dc \uae38\uc774\uac00 14\uc790 \uc774\uc0c1\uc77c \ub54c \uc0bc\ubc14 smbpasswd<\/tt> \ubb38\uc81c<\/p>\n

I recently switched to Gentoo Linux<\/a> due to some random problem with dmraid<\/tt> in Ubuntu Linux<\/a>. It was perfect at least for dmraid<\/tt> issues, but I realized again that it’s not really a kind Linux distribution after dealing with other various issues I’ve encountered so far.<\/p>\n

\ucd5c\uadfc\uc5d0 \uc6b0\ubd84\ud22c \ub9ac\ub205\uc2a4<\/a>\uc5d0 \uc788\ub294 \ubb34\uc791\uc704\ub85c \ubc1c\uc0dd\ud558\ub294 dmraid<\/tt> \ubb38\uc81c \ub54c\ubb38\uc5d0 \uc820\ud22c \ub9ac\ub205\uc2a4<\/a>\ub85c \uc804\ud658\ud588\uc2b5\ub2c8\ub2e4. \uc801\uc5b4\ub3c4 dmraid<\/tt> \ubb38\uc81c\ub294 \uc644\ubcbd\ud558\uac8c \ud574\uacb0\ub418\uc5c8\uc9c0\ub9cc \uc9c0\uae08\uae4c\uc9c0 \ub2e4\ub978 \ub2e4\uc591\ud55c \ubb38\uc81c\ub97c \uacaa\uc73c\uba74\uc11c \uc820\ud22c\uac00 \uadf8\ub807\uac8c \uce5c\uc808\ud55c \ub9ac\ub205\uc2a4 \ubc30\ud3ec\ud310\uc740 \uc544\ub2c8\ub77c\ub294 \uac78 \ub2e4\uc2dc\uae08 \uae68\ub2eb\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n

The craziest one is that smbpasswd<\/tt> allows me to set my password longer than 14 characters while the Samba client truncates my password to 14 characters before encrypting it and sending it to the Samba server, which causes a unexpected NT_STATUS_WRONG_PASSWORD<\/tt> error. Strictly speaking, it’s a limitation of Lanman protocol<\/a> , which is forced in ‘shared<\/tt>‘ security level, but why the hell should I know this detail!<\/p>\n

\uac00\uc7a5 \ud669\ub2f9\ud55c \uac83\uc740 smbpasswd<\/tt>\ub85c 14\uc790 \uc774\uc0c1\uc758 \uc554\ud638\ub97c \uc124\uc815\ud560 \uc218 \uc788\ub294 \ubc18\uba74 \uc0bc\ubc14 \ud074\ub77c\uc774\uc5b8\ud2b8\ub294 \uc81c \uc554\ud638\ub97c 14\uc790\ub85c \uc798\ub77c\uc11c \uc554\ud638\ud654\ud574 \uc0bc\ubc14 \uc11c\ubc84\ub85c \uc804\uc1a1\ud55c\ub2e4\ub294 \uac83\uc785\ub2c8\ub2e4. \ub355\ud0dd\uc5d0 \uc0dd\uac01\uc9c0\ub3c4 \ubabb\ud55c NT_STATUS_WRONG_PASSWORD<\/tt> \uc5d0\ub7ec\ub97c \uacaa\uac8c \ub418\uc9c0\uc694. \uc5c4\uaca9\ud558\uac8c \ub9d0\ud558\uba74 ‘shared<\/tt>‘ security level\uc5d0\uc11c \uac15\uc81c\ub85c \uc0ac\uc6a9\ud558\ub3c4\ub85d \uc790\ub3d9 \uc124\uc815\ub418\ub294 Lanman \ud504\ub85c\ud1a0\ucf5c<\/a>\uc758 \uc81c\uc57d \uc0ac\ud56d\uc774\uae34 \ud558\uc9c0\ub9cc, \uc81c\uac00 \ub3c4\ub300\uccb4 \uc774\uac78 \uc65c \uc54c\uc544\uc57c \ub418\ub294 \uac74\uc9c0 \ubaa8\ub974\uaca0\ub124\uc694!<\/p>\n

Ubuntu, I really appreciate you did the truncation for me behind the scene, and am sorry for the betrayal!<\/p>\n

\uc6b0\ubd84\ud22c\uc5ec, \ub0a0 \uc704\ud574 \ub4a4\uc5d0\uc11c \ubab0\ub798 14\uc790\ub85c \uc554\ud638\ub97c \uc798\ub77c\uc900 \uac83 \uc815\ub9d0 \uace0\ub9c8\uc6cc, \uadf8\ub9ac\uace0 \ubc30\uc2e0\ud574\uc11c \ubbf8\uc548\ud574! \u315c\u315c<\/p>\n","protected":false},"excerpt":{"rendered":"

\ud328\uc2a4\uc6cc\ub4dc \uae38\uc774\uac00 14\uc790 \uc774\uc0c1\uc77c \ub54c \uc0bc\ubc14 smbpasswd \ubb38\uc81c I recently switched to Gentoo Linux due to some random problem with dmraid in Ubuntu Linux. It was perfect at least for dmraid issues, but I realized again that it’s not really a kind Linux distribution after dealing with other various issues I’ve encountered so far. \ucd5c\uadfc\uc5d0… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"A Samba smbpasswd problem with passwords longer than 14 characters — T's message of the day<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Samba smbpasswd problem with passwords longer than 14 characters — T's message of the day\" \/>\n<meta property=\"og:description\" content=\"\ud328\uc2a4\uc6cc\ub4dc \uae38\uc774\uac00 14\uc790 \uc774\uc0c1\uc77c \ub54c \uc0bc\ubc14 smbpasswd \ubb38\uc81c I recently switched to Gentoo Linux due to some random problem with dmraid in Ubuntu Linux. It was perfect at least for dmraid issues, but I realized again that it’s not really a kind Linux distribution after dealing with other various issues I’ve encountered so far. \ucd5c\uadfc\uc5d0... Continue reading →\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\" \/>\n<meta property=\"og:site_name\" content=\"T's message of the day\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/trustin\" \/>\n<meta property=\"article:published_time\" content=\"2007-02-06T17:44:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-27T16:46:37+00:00\" \/>\n<meta name=\"author\" content=\"Trustin Lee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/www.twitter.com\/trustin\" \/>\n<meta name=\"twitter:site\" content=\"@trustin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Trustin Lee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\"},\"author\":{\"name\":\"Trustin Lee\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"headline\":\"A Samba smbpasswd problem with passwords longer than 14 characters\",\"datePublished\":\"2007-02-06T17:44:00+00:00\",\"dateModified\":\"2022-12-27T16:46:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\"},\"wordCount\":156,\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\",\"name\":\"A Samba smbpasswd problem with passwords longer than 14 characters — T's message of the day\",\"isPartOf\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\"},\"datePublished\":\"2007-02-06T17:44:00+00:00\",\"dateModified\":\"2022-12-27T16:46:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/vault.motd.kr\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Samba smbpasswd problem with passwords longer than 14 characters\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#website\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/\",\"name\":\"T's message of the day\",\"description\":\"the best is yet to come\",\"publisher\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d\",\"name\":\"Trustin Lee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"contentUrl\":\"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png\",\"width\":966,\"height\":966,\"caption\":\"Trustin Lee\"},\"logo\":{\"@id\":\"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/t.motd.kr\/\",\"https:\/\/www.facebook.com\/trustin\",\"https:\/\/www.instagram.com\/trustinlee\/\",\"https:\/\/www.linkedin.com\/in\/trustin\",\"https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin\",\"https:\/\/www.youtube.com\/@trustinlee\"]}]}<\/script>","yoast_head_json":{"title":"A Samba smbpasswd problem with passwords longer than 14 characters — T's message of the day","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/","og_locale":"en_US","og_type":"article","og_title":"A Samba smbpasswd problem with passwords longer than 14 characters — T's message of the day","og_description":"\ud328\uc2a4\uc6cc\ub4dc \uae38\uc774\uac00 14\uc790 \uc774\uc0c1\uc77c \ub54c \uc0bc\ubc14 smbpasswd \ubb38\uc81c I recently switched to Gentoo Linux due to some random problem with dmraid in Ubuntu Linux. It was perfect at least for dmraid issues, but I realized again that it’s not really a kind Linux distribution after dealing with other various issues I’ve encountered so far. \ucd5c\uadfc\uc5d0... Continue reading →","og_url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/","og_site_name":"T's message of the day","article_publisher":"https:\/\/www.facebook.com\/trustin","article_author":"https:\/\/www.facebook.com\/trustin","article_published_time":"2007-02-06T17:44:00+00:00","article_modified_time":"2022-12-27T16:46:37+00:00","author":"Trustin Lee","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/www.twitter.com\/trustin","twitter_site":"@trustin","twitter_misc":{"Written by":"Trustin Lee","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/#article","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/"},"author":{"name":"Trustin Lee","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"headline":"A Samba smbpasswd problem with passwords longer than 14 characters","datePublished":"2007-02-06T17:44:00+00:00","dateModified":"2022-12-27T16:46:37+00:00","mainEntityOfPage":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/"},"wordCount":156,"publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/","url":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/","name":"A Samba smbpasswd problem with passwords longer than 14 characters — T's message of the day","isPartOf":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#website"},"datePublished":"2007-02-06T17:44:00+00:00","dateModified":"2022-12-27T16:46:37+00:00","breadcrumb":{"@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vault.motd.kr\/wordpress\/posts\/1541\/a-samba-smbpasswd-problem-with-passwords-longer-than-14-characters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vault.motd.kr\/wordpress\/"},{"@type":"ListItem","position":2,"name":"A Samba smbpasswd problem with passwords longer than 14 characters"}]},{"@type":"WebSite","@id":"https:\/\/vault.motd.kr\/wordpress\/#website","url":"https:\/\/vault.motd.kr\/wordpress\/","name":"T's message of the day","description":"the best is yet to come","publisher":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vault.motd.kr\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/4430ad90fc2ddeef051565701d85db9d","name":"Trustin Lee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","contentUrl":"https:\/\/vault.motd.kr\/wordpress\/wp-content\/uploads\/2020\/09\/avatar-2019-966px.png","width":966,"height":966,"caption":"Trustin Lee"},"logo":{"@id":"https:\/\/vault.motd.kr\/wordpress\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/t.motd.kr\/","https:\/\/www.facebook.com\/trustin","https:\/\/www.instagram.com\/trustinlee\/","https:\/\/www.linkedin.com\/in\/trustin","https:\/\/twitter.com\/https:\/\/www.twitter.com\/trustin","https:\/\/www.youtube.com\/@trustinlee"]}]}},"_links":{"self":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1541"}],"collection":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/comments?post=1541"}],"version-history":[{"count":1,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1541\/revisions"}],"predecessor-version":[{"id":5822,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/posts\/1541\/revisions\/5822"}],"wp:attachment":[{"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/media?parent=1541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/categories?post=1541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vault.motd.kr\/wordpress\/wp-json\/wp\/v2\/tags?post=1541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}