*OpenLDAP [#e2228580] RIGHT:更新日&lastmod(); OpenLDAPでlogin認証を行う **インストールおよびチェック [#cc058073] $ rpm -qa | grep openldap openldap-2.3.27-0vl2.4 # apt-get install openldap-clients # apt-get install openldap-servers **LDAPサーバー設定 [#xfdddfee] ドメイン名の各ゾーン名部分を"dc=○○"という形式で記述 今回はism.comというゾーン名にする ''Openldapのパスワードを作成'' # /usr/sbin/slappasswd -s ****** -h {MD5} {MD5}**********************== # cd /etc/openldap ''slapd.conf'' ####################################################################### # ldbm and/or bdb database definitions ####################################################################### database bdb ##suffix "dc=my-domain,dc=com" suffix "dc=ism,dc=com" <==ゾーン名を変更 ##rootdn "cn=Manager,dc=my-domain,dc=com" rootdn "cn=Manager,dc=ism,dc=com" <==ゾーン名を変更 # Cleartext passwords, especially for the rootdn, should # be avoided. See slappasswd(8) and slapd.conf(5) for details. # Use of strong authentication encouraged. # rootpw secret # rootpw {crypt}ijFYNcSNctBYg rootpw {MD5}**********************== <=先のパスワードを記述 以下を最終行へ追加 ## Edit By JE2ISM access to attrs=userPassword by self write by dn="cn=Manager,dc=ism,dc=com" write by anonymous auth by * none access to * by dn="cn=Manager,dc=ism,dc=com" write by self write by * read