Home | Mirror | Search

第 1 章 OpenLDAP server (slapd)

目錄

1. Installation
1.1. CentOS/Redhat
1.2. Debian/Ubuntu
2. Configure
3. 基本操作
3.1. base-dn
3.2. Add
3.3. Search
3.4. Modify
3.5. Delete
3.6. Search
3.7. Organization Unit

1. Installation

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.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>                                    │
            │                                                                         │
            └─────────────────────────────────────────────────────────────────────────┘
            
			
comments powered by Disqus