Home | 簡體中文 | 繁體中文 | 雜文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Email

第 1 章 OpenLDAP server (slapd)

目錄

1.1. Installation
1.1.1. CentOS/Redhat
1.1.2. Debian/Ubuntu
1.2. Configure
1.3. 基本操作
1.3.1. base-dn
1.3.2. Add
1.3.3. Search
1.3.4. Modify
1.3.5. Delete
1.3.6. Search
1.3.7. Organization Unit

1.1. Installation

1.1.1. CentOS/Redhat

Yum

[root@development ~]# yum -y install openldap-servers
[root@development ~]# yum -y install openldap-clients
			

Redhat AS4

[root@backup openldap]# rpm -aq |grep openldap
compat-openldap-2.1.30-6.4E
openldap-2.2.13-6.4E
openldap-devel-2.2.13-6.4E
openldap-clients-2.2.13-6.4E
openldap-servers-2.2.13-6.4E
openldap-servers-sql-2.2.13-6.4E
			

1.1.2. Debian/Ubuntu

$ sudo apt-get install slapd
$ sudo apt-get install slapd
$ sudo apt-get install ldap-utils
			

Admin password/Confirm password

			
            ┌───────────────────────────┤  正在設定 slapd  ├────────────────────────────┐
            │  Please enter the password for the admin entry in your LDAP directory.  │
            │                                                                         │
            │ Admin password:                                                         │
            │                                                                         │
            │ _______________________________________________________________________ │
            │                                                                         │
            │                                 <Ok>                                    │
            │                                                                         │
            └─────────────────────────────────────────────────────────────────────────┘