{"id":73,"date":"2008-09-05T18:09:00","date_gmt":"2008-09-05T09:09:00","guid":{"rendered":"http:\/\/www.asfit.net\/blog\/kan\/?p=73"},"modified":"2008-09-05T18:09:00","modified_gmt":"2008-09-05T09:09:00","slug":"open-ldap%e3%81%ae%e8%a8%ad%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/www.asfit.net\/blog\/kan\/?p=73","title":{"rendered":"Open LDAP\u306e\u8a2d\u5b9a"},"content":{"rendered":"<pre>\n$ ldapsearch -x -h 192.168.0.1 -b \"dc=asfit,dc=net\"\n$\n$ cat \/etc\/ldap\/ldap.conf\n#\nBASE    dc=asfit,dc=net\n$\n$ cat \/etc\/ldap\/slapd.conf\n# This is the main slapd configuration file. See slapd.conf(5) for more\n# info on the configuration options.\n#######################################################################\n# Global Directives:\n# Schema and objectClass definitions\ninclude         \/etc\/ldap\/schema\/core.schema\ninclude         \/etc\/ldap\/schema\/cosine.schema\ninclude         \/etc\/ldap\/schema\/nis.schema\ninclude         \/etc\/ldap\/schema\/inetorgperson.schema\npidfile         \/var\/run\/slapd\/slapd.pid\nargsfile        \/var\/run\/slapd\/slapd.args\n# Where the dynamically loaded modules are stored\nmodulepath      \/usr\/lib\/ldap\nmoduleload      back_hdb\nbackend         hdb\n#######################################################################\ndatabase        hdb\nsuffix          \"dc=asfit,dc=net\"\nrootdn          \"cn=Manager,dc=asfit,dc=net\"\nrootpw          root\ndirectory       \/var\/lib\/ldap\naccess to *\nby self write\nby * read\n$\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$ ldapsearch -x -h 192.168.0.1 -b &#8220;dc=asfit,dc=net&#8221; $ $ cat \/etc\/ldap\/ldap.conf # BASE dc=asfit,dc=net $ $ cat&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":0,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.asfit.net\/blog\/kan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}