{"id":1051,"date":"2026-02-23T23:43:11","date_gmt":"2026-02-23T14:43:11","guid":{"rendered":"http:\/\/www.igoni.kr\/?p=1051"},"modified":"2026-02-23T23:43:11","modified_gmt":"2026-02-23T14:43:11","slug":"ldap%ea%b5%ac%ec%84%b1-3-samba%ea%b5%ac%ec%84%b1%ed%95%b4%ec%84%9c-%ec%97%b0%eb%8f%99%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"http:\/\/www.igoni.kr\/?p=1051","title":{"rendered":"LDAP\uad6c\uc131-3. SAMBA\uad6c\uc131\ud574\uc11c \uc5f0\ub3d9\ud558\uae30"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\ubaa9 \ucc28<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\ubaa9\ucc28 \ud1a0\uae00\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/www.igoni.kr\/?p=1051\/#Samba%EC%84%9C%EB%B2%84%EC%99%80_LDAP%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0_%E2%80%93_LDAP%EC%84%9C%EB%B2%84%EC%97%90%EC%84%9C_%EC%9E%91%EC%97%85\" >Samba\uc11c\ubc84\uc640 LDAP\uc5f0\ub3d9\ud558\uae30 &ndash; LDAP\uc11c\ubc84\uc5d0\uc11c \uc791\uc5c5<\/a><\/li><\/ul><\/nav><\/div>\n<h3 id=\"bkmrk-samba%EC%84%9C%EB%B2%84%EC%99%80-ldap%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0-%E2%80%93-\" class=\"wikigeneratedid\"><span class=\"ez-toc-section\" id=\"Samba%EC%84%9C%EB%B2%84%EC%99%80_LDAP%EC%97%B0%EB%8F%99%ED%95%98%EA%B8%B0_%E2%80%93_LDAP%EC%84%9C%EB%B2%84%EC%97%90%EC%84%9C_%EC%9E%91%EC%97%85\"><\/span>Samba\uc11c\ubc84\uc640 LDAP\uc5f0\ub3d9\ud558\uae30 &ndash; LDAP\uc11c\ubc84\uc5d0\uc11c \uc791\uc5c5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div id=\"bkmrk-%ED%8C%A8%ED%82%A4%EC%A7%80-%EC%84%A4%EC%B9%98-%24%3E-yum-insall\">\n<div class=\"xcontent\">\n<div class=\"row\">\n<div id=\"bkmrk-%ED%8C%A8%ED%82%A4%EC%A7%80-%EC%84%A4%EC%B9%98-%24%3E-yum-insall-0\" class=\"col-xs-12\">\n<ol>\n<li>\ud328\ud0a4\uc9c0 \uc124\uce58\n<pre><code class=\"language-shell\">$&gt; yum insall -y samba samba-devel<\/code><\/pre>\n<\/li>\n<li>samba\uc124\uc815 \uc801\uc6a9\n<pre><code class=\"language-shell\">$&gt; vi \/etc\/samba\/smb.conf \ub0b4\uc6a9 \ucd94\uac00\r\n...\r\nsecurity = user\r\nldap admin dn = cn=Manager,dc=my-domain,dc=com\r\nldap suffix = dc=my-domain,dc=com\r\nldap group suffix = ou=groups\r\nldap user suffix = ou=people\r\nldap passwd sync = yes\r\nldap delete dn = Yes\r\ndomain logons = yes<\/code><\/pre>\n<\/li>\n<li>LDAP\uacfc samba\uc5f0\ub3d9\n<pre><code class=\"language-shell\">$&gt; vi &nbsp;\/etc\/openldap\/slapd.conf\r\n...\r\ninclude \/etc\/openldap\/schema\/samba.schema\r\naccess to attrs=userPassword,sambaLMPassword,smabaNTPassword,shadowLastChange\r\nby dn.children=\"ou=Manager,dc=my-domain,dc=com\" write\r\nby self write\r\nby anonymous auth\r\nby * none\r\naccess to *\r\nby dn.children=\"ou=Manager,dc=my-domain,dc=com\" write\r\nby * read<\/code><\/pre>\n<\/li>\n<li>ldap admin \ud328\uc2a4\uc6cc\ub4dc \uc124\uc815\n<pre><code class=\"language-shell\">$&gt; smbpasswd -w<\/code><\/pre>\n<\/li>\n<li>LDAP\uc0ac\uc6a9\uc790 samba \ud328\uc2a4\uc6cc\ub4dc \uc124\uc815\n<pre><code class=\"language-shell\">$&gt; smbpasswd -a test\r\n$&gt; New SMB password:\r\n$&gt; Retype new SMB password:<\/code><\/pre>\n<\/li>\n<li>\uc11c\ube44\uc2a4 \uc2dc\uc791 \ubc0f \ud65c\uc131\ud654\n<pre><code class=\"language-shell\">$&gt; \/etc\/init.d\/smb start\r\n$&gt; chkconfig smb on<\/code><\/pre>\n<\/li>\n<li>samba \ud074\ub77c\uc774\uc5b8\ud2b8 \uc811\uc18d \ud14c\uc2a4\ud2b8\n<pre><code class=\"language-shell\">$&gt; smbclient -U test \/\/192.168.10.10\/home<\/code><\/pre>\n<ul>\n<li>\uc708\ub3c4\uc6b0 \uc7a5\ube44\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c \uacf5\uc720\ud3f4\ub354\ub97c \ud1b5\ud574 \uc811\uadfc \uc5ec\ubd80 \ud655\uc778<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Samba\uc11c\ubc84\uc640 LDAP\uc5f0\ub3d9\ud558\uae30 &ndash; LDAP\uc11c\ubc84\uc5d0\uc11c \uc791\uc5c5 \ud328\ud0a4\uc9c0 \uc124\uce58 $&gt; yum insall -y samba samba-devel samba\uc124\uc815 \uc801\uc6a9 $&gt;&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[297],"tags":[299],"class_list":["post-1051","post","type-post","status-publish","format-standard","hentry","category-openldap-","tag-openldap"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1051"}],"version-history":[{"count":1,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1051\/revisions"}],"predecessor-version":[{"id":1053,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1051\/revisions\/1053"}],"wp:attachment":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1051"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}