I have installed OpenLDAP
and phpLDAPadmin
on Ubuntu 14.04
.
I have a default RootDN
which is something like:
cn=admin,dc=example,dc=com
Then I have created some users
and groups
organizational units like that:
ou=users,dc=example,dc=com
ou=groups,dc=example,dc=com
I have also created a Main Admin
user which will be the admin for all my services:
cn=Main Admin,ou=users,dc=example,dc=com
Now I would like to have the Main Admin
as the RootDN
(so, just one admin for all services included the LDAP service).
Is it possible to do that and how ? Just by changing the olcRootDN
value ?
What's happened for the password ? Should I set the olcRootPW
to be the same as the Main Admin
password ?