Ldap Server: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Setup Ldap == === Change Root DN === Get information <pre>ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn olcRootDN</pre> You need to modify the entry dn: "olcDat...") |
|||
Line 1: | Line 1: | ||
== Setup Ldap == | == Setup Ldap == | ||
=== Change Root DN === | === Change Root DN === | ||
Retreive current information | |||
<pre>ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn olcRootDN</pre> | <pre>ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn olcRootDN</pre> | ||
You need to modify the entry dn: "olcDatabase={1}hdb,cn=config" | You need to modify the entry dn: "olcDatabase={1}hdb,cn=config" |
Revision as of 05:35, 13 May 2016
Setup Ldap
Change Root DN
Retreive current information
ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn olcRootDN
You need to modify the entry dn: "olcDatabase={1}hdb,cn=config"
Proceed to modify
ldapmodify -Y EXTERNAL -H ldapi:///
First, enter the entry we want to modify
dn: olcDatabase={1}mdb,cn=config
Second, type the parameter we want to modify
replace: olcRootDN
Third, type the new value you want
olcRootDN: cn=admin,dc=objclt,dc=com
Press enter twice to confirm