Changes

Jump to: navigation, search

OpenLDAP Installation and Test

435 bytes added, 02:10, 23 November 2016
OpenLDAP Server Configuration directory
* olcRootPW - add (for olcRootDN)
=== Start slapd and add additional schema ===
After installing the openldap-servers rpm package, you should be able to start the OpenLDAP server slapd with the following command:
<pre>
-rw-------. 1 ldap ldap 2949 Nov 22 18:35 cn={3}inetorgperson.ldif
</pre>
 
===Check current "naming context" of the OpenLDAP directory ===
<pre>
[root@localhost cn=config]# ldapsearch -x -b '' -s base namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope baseObject
# filter: (objectclass=*)
# requesting: namingContexts
#
 
#
dn:
namingContexts: dc=my-domain,dc=com
 
# search result
search: 2
result: 0 Success
 
# numResponses: 2
# numEntries: 1
</per>
=== OpenLDAP client configuration ===
1,760
edits

Navigation menu