用戶工具

網站工具


ldap

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
ldap.txt · 上一次變更: 2010/08/23 15:30 (外部編輯)