這裏顯示二個版本的差異處。
— |
ldap [2010/08/23 15:30] (目前版本) |
||
---|---|---|---|
行 1: | 行 1: | ||
+ | Lightweight Directory Access Protocol | ||
+ | |||
+ | bestlong.idv.tw | ||
+ | / \ | ||
+ | login company | ||
+ | / \ / \ | ||
+ | user group unit customer | ||
+ | / | \ | ||
+ | mis hr account | ||
+ | |||
+ | 以上方的結構為例,在 mis 部門下有一位 bestlong 在 LDAP 的表示法: | ||
+ | |||
+ | cn=bestlong,ou=mis,ou=unit,ou=company,dc=bestlong,dc=idv,dc=tw | ||
+ | |||
+ | |||
+ | 設定 | ||
+ | shell> cd /var/lib/ldap | ||
+ | shell> cp /usr/share/doc/openldap-servers-2.4.10/DB_CONFIG.example DB_CONFIG | ||
+ | shell> vim /etc/ldap.conf | ||
+ | |||
+ | 啟動 LDAP 服務 | ||
+ | shell> service ldap start | ||
+ | |||
+ | |||