{"id":1055,"date":"2026-02-23T23:43:39","date_gmt":"2026-02-23T14:43:39","guid":{"rendered":"http:\/\/www.igoni.kr\/?p=1055"},"modified":"2026-02-23T23:43:39","modified_gmt":"2026-02-23T14:43:39","slug":"ldap%ea%b5%ac%ec%84%b1-4-rootdn%eb%b3%80%ea%b2%bd","status":"publish","type":"post","link":"http:\/\/www.igoni.kr\/?p=1055","title":{"rendered":"LDAP\uad6c\uc131-4. rootdn\ubcc0\uacbd"},"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=1055\/#LDAP_root_dn_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EB%B3%80%EA%B2%BD\" >LDAP root dn \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd<\/a><\/li><\/ul><\/nav><\/div>\n<h3 id=\"bkmrk-ldap-root-dn-%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C-%EB%B3%80%EA%B2%BD\" class=\"wikigeneratedid\"><span class=\"ez-toc-section\" id=\"LDAP_root_dn_%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C_%EB%B3%80%EA%B2%BD\"><\/span>LDAP root dn \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol id=\"bkmrk-%EB%B3%80%EA%B2%BD%ED%95%A0-%ED%8C%A8%EC%8A%A4%EC%9B%8C%EB%93%9C%EA%B0%92-%EC%83%9D%EC%84%B1-%24%3E-slap\">\n<li>\ubcc0\uacbd\ud560 \ud328\uc2a4\uc6cc\ub4dc\uac12 \uc0dd\uc131\n<pre><code class=\"language-shell\">$&gt; slappasswd\r\n$&gt; New password:\r\n$&gt; Re-enter new password:\r\n{SSHA}qZsVpahyjXOF1fkdlXgtLsfAr11JGMfj.h<\/code><\/pre>\n<\/li>\n<li>LDIF\ud30c\uc77c\uc744 \uc544\ub798\ub0b4\uc6a9\uc73c\ub85c \ud30c\uc77c \uc791\uc131\n<pre><code class=\"language-shell\">$&gt; cat password.ldif\r\ndn: OlcDatabase={2}bdb,cn=config\r\nreplace: olcRootPW\r\nolcRootPW: {SSHA}qZsVpahyjXOF1fkdlXgtLsfAr11JGMfj.h<\/code><\/pre>\n<\/li>\n<li>\uc0dd\uc131\ud55c \ud30c\uc77c\uc744 \uac00\uc9c0\uace0 ldap\uc5d0 \uc801\uc6a9\n<pre><code class=\"language-shell\">$&gt; ldapmodify -Y EXTERNAL -H ldapi:\/\/\/ -f password.ldif\r\nSASL\/EXTERNAL authentication started\r\nSASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth\r\nSASL SSF: 0\r\nmodifying entry \"OlcDatabase={2}bdb,cn=config\"<\/code><\/pre>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>LDAP root dn \ud328\uc2a4\uc6cc\ub4dc \ubcc0\uacbd \ubcc0\uacbd\ud560 \ud328\uc2a4\uc6cc\ub4dc\uac12 \uc0dd\uc131 $&gt; slappasswd $&gt; New password: $&gt; Re-enter new&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-1055","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\/1055","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=1055"}],"version-history":[{"count":1,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1055\/revisions"}],"predecessor-version":[{"id":1057,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=\/wp\/v2\/posts\/1055\/revisions\/1057"}],"wp:attachment":[{"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1055"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.igoni.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}