flagflag  
1: 2011-08-13 (Sat) 11:41:35 iseki source Cur: 2023-10-18 (Wed) 14:23:39 iseki source
Line 1: Line 1:
** OpenLDAP [#c492083b] ** OpenLDAP [#c492083b]
*** Links [#a4113edb] *** Links [#a4113edb]
 +- [[LDAP]]
 +- [[389DS>389 Directory Server]]
- http://www.openldap.org/ - http://www.openldap.org/
- http://www.openldap.org/software/downloa​d/ - http://www.openldap.org/software/downloa​d/
 +- see also [[pam_ldap]], [[nss_ldap]]
#br #br
 +
 +*** Install [#n1348f5f]
 +- slapd をコンパイルする場合は [[Berkeley DB]]4 が必要 (4.2以上. ただし 4.3 は不可).
 +#br
 +
 +**** Client のコンパイル [#h22bd7e2]
 + ./configure -enable-slapd=no
 + make depend
 + make
 +
 +*** 設定 [#ra251cd9]
 +- /etc/openldap/[[ldap.conf>LDAP/ldap.conf​]]
 +#br
 +
*** Clients [#d0d6914b] *** Clients [#d0d6914b]
 +- OpenLDAPのソフトウェアは /etc/openldap/ldap.conf を見る
 +-- 他のサーバに接続したい場合は
 + -h 202.26.xx.xx
 + -H ldap://202.26.xx.xx:389/
 +- その他のソフトウェア ([[pam_ldap]] など) は /etc/ldap.conf を見る
 +#br
 +
**** ldapsearch [#s2fe50be] **** ldapsearch [#s2fe50be]
 + ldapsearch -x -D "cn=ldapauth,cn=users,dc=edutuis,dc=local​" -w ldapauthのパスワード
 + ldapsearch -x -D "cn=ldapauth,cn=users,dc=edutuis,dc=local​" -w ldapauthのパスワード 'uid=iseki'
 + ldapsearch -x -D 'CN=iseki,OU=教員,OU=ユーザー,DC=edutuis,DC=local' -w isekiのパスワード
 +
 + ldapsearch -x -H ldap://ds.nsl.tuis.ac.jp -D cn=Manager -w ..... -b dc=nsl,dc=tuis,dc=ac,dc=jp
 + ldapsearch -x -H ldap://ds.nsl.tuis.ac.jp -D cn=Manager -w ..... -b dc=nsl,dc=tuis,dc=ac,dc=jp  'uid=iseki'
 +
**** ldapcompre [#o2252891] **** ldapcompre [#o2252891]
 + ldapcompare -x -D "cn=ldapauth,cn=users,dc=edutuis,dc=local​" -w ldapauthのパスワード 'CN=iseki,OU=教員,OU=ユーザー,DC=edutuis,DC=local' name:iseki
 +#br
 +**** ldaps [#gf327afe]
 +- ldaps で接続できない場合は,/etc/openldap/ldap.conf に TLS_REQCERT never を追加する.
 +#br
 +
 +*** AD [#d7352c3b]
 +- %%Widows の AD と連携した場合,%%  unixUserPassword をクライアント側で知ることができない.(要 管理用バインドのパスワード)
 +- パスワードは LDAPへログインして初めて正しいかどうかが分かる (ユーザ単位でのバインド)
 +
#br #br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

39 user(s) are online (9 user(s) are browsing xpwiki)

Members: 0
Guests: 39

more...

Access Counter

Today : 390390390
Yesterday : 5790579057905790
Total : 2365318623653186236531862365318623653186236531862365318623653186
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com