{"id":748,"date":"2009-03-22T23:39:44","date_gmt":"2009-03-22T14:39:44","guid":{"rendered":"http:\/\/www.kazu.tv\/blog\/?p=748"},"modified":"2009-03-22T23:39:44","modified_gmt":"2009-03-22T14:39:44","slug":"egroupware_open","status":"publish","type":"post","link":"https:\/\/kazu.tv\/blog\/2009\/03\/22\/egroupware_open\/","title":{"rendered":"eGroupWare + OpenLDAP"},"content":{"rendered":"<p>\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30b0\u30eb\u30fc\u30d7\u30a6\u30a7\u30a2eGroupWare\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306bOpenLDAP\u3092\u4f7f\u3063\u3066\u307f\u305f\u3002eGroupWare\u306f\u901a\u5e38\u3060\u3068\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831\u3092\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u683c\u7d0d\u3059\u308b\u3002\u305d\u306e\u65b9\u6cd5\u3067\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7c21\u5358\u306a\u306e\u3067\u7279\u306b\u89e6\u308c\u306a\u3044\u3002<\/p>\n<p>\u74b0\u5883<\/p>\n<ul>\n<li>CentOS 5.2<\/li>\n<li>OpenLDAP 2.3.27 (CentOS\u306erpm)<\/li>\n<li>eGroupWare 1.6.001<\/li>\n<\/ul>\n<p>\u25a0OpenLDAP\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><div class=\"code\">yum install openldap-clients\nyum install openldap-servers<br \/>cp -p \/etc\/openldap\/DB_CONFIG.example \/var\/lib\/ldap\/DB_CONFIG<\/div><\/pre>\n<p>\u3042\u3068\u306fDB_CONFIG\u3092\u9069\u5f53\u306b\u4fee\u6b63\u3002<\/p>\n<p>\u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306aLDIF\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3002<\/p>\n<pre><code>dn: dc=kazu,dc=tv\nobjectClass: dcObject\nobjectClass: organization\no: kazu ldap\ndc: kazu\ndn: cn=Manager,dc=kazu,dc=tv\nobjectClass: organizationalRole\ncn: Manager\ndn: ou=People,dc=kazu,dc=tv\nobjectClass: organizationalUnit\nou: People\ndn: ou=Group,dc=kazu,dc=tv\nobjectClass: organizationalUnit\nou: Group\n<\/code><\/pre>\n<p>\u305d\u308c\u3092\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u767b\u9332\u3002<\/p>\n<pre><code>ldapadd -x -D \"cn=Manager,dc=kazu,dc=tv\" -W -f first.ldif<\/code><\/pre>\n<p>\u3053\u308c\u3067\u4e00\u901a\u308a\u306fok\u304b\u3002<\/p>\n<p>\u25a0eGroupWare\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\u30d1\u30c3\u30b1\u30fc\u30b8\u3092Apache\u306ehtdocs\uff08\u81ea\u5206\u306e\u5834\u5408\/usr\/local\/apache\/htdocs\/\uff09\u306e\u4e0b\u306b\u89e3\u51cd\u3057\u3001\u3042\u3068\u306fhttp:\/\/hostname\/egroupware\/\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u6307\u793a\u306b\u5f93\u3046\u3060\u3051\u3002<\/p>\n<p>\u305d\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u8db3\u308a\u306a\u3044\u30d1\u30c3\u30b1\u30fc\u30b8\u3068\u304b\u3082\u6559\u3048\u3066\u304f\u308c\u308b\u3002\u81ea\u5206\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u306f\u4ee5\u4e0b\u306e\u3082\u306e\u304f\u3089\u3044\u3002<\/p>\n<p>pear install Auth_SASL<\/p>\n<p><!--more--><br \/>\n\u25a0eGroupWare\u304b\u3089LDAP\u3092\u4f7f\u3046\u8a2d\u5b9a<br \/>\u8a2d\u5b9a\u753b\u9762\u3092\u76f4\u63a5\u898b\u305f\u65b9\u304c\u65e9\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u30ad\u30e3\u30d7\u30c1\u30e3\u753b\u50cf\u3092\u3002<br \/><span class=\"mt-enclosure mt-enclosure-image\" style=\"display: inline;\"><img loading=\"lazy\" decoding=\"async\" alt=\"eGroupWare-LDAP1.PNG\" src=\"http:\/\/www.kazu.tv\/blog\/wp-content\/uploads\/2013\/09\/setup03.PNG\" class=\"mt-image-none\" style=\"\" width=\"710\" height=\"479\" \/><\/span><\/p>\n<div><span class=\"mt-enclosure mt-enclosure-image\" style=\"display: inline;\"><img loading=\"lazy\" decoding=\"async\" alt=\"eGroupWare-LDAP2.PNG\" src=\"http:\/\/www.kazu.tv\/blog\/wp-content\/uploads\/2013\/09\/setup04.PNG\" class=\"mt-image-none\" style=\"\" width=\"712\" height=\"354\" \/><\/span><\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>eGroupWare\u3067\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306bLDAP\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[15],"tags":[481,483,484],"class_list":["post-748","post","type-post","status-publish","format-standard","hentry","category-15","tag-egroupware","tag-ldap","tag-openldap"],"_links":{"self":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/comments?post=748"}],"version-history":[{"count":0,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/posts\/748\/revisions"}],"wp:attachment":[{"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/media?parent=748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/categories?post=748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazu.tv\/blog\/wp-json\/wp\/v2\/tags?post=748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}