flagflag  
2: 2011-08-13 (Sat) 13:27:03 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/
Line 14: Line 16:
 make depend  make depend
 make  make
 +
 +*** 設定 [#ra251cd9]
 +- /etc/openldap/[[ldap.conf>LDAP/ldap.conf​]]
 +#br
*** Clients [#d0d6914b] *** Clients [#d0d6914b]
-- サーバの設定は /etc/openldap/ldap.conf を見る+- OpenLDAPのソフトウェアは /etc/openldap/ldap.conf を見る
-- 他のサーバに接続したい場合は -- 他のサーバに接続したい場合は
 -h 202.26.xx.xx  -h 202.26.xx.xx
- -H ldap://202.26.xx.xx/389+ -H ldap://202.26.xx.xx:389
 +- その他のソフトウェア ([[pam_ldap]] など) は /etc/ldap.conf を見る 
 +#br
**** ldapsearch [#s2fe50be] **** ldapsearch [#s2fe50be]
Line 25: Line 33:
 ldapsearch -x -D "cn=ldapauth,cn=users,dc=edutuis,dc=local​" -w ldapauthのパスワード 'uid=iseki'  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 -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  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

20 user(s) are online (2 user(s) are browsing xpwiki)

Members: 0
Guests: 20

more...

Access Counter

Today : 5200520052005200
Yesterday : 8599859985998599
Total : 2365220623652206236522062365220623652206236522062365220623652206
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com