Hello,
It is not possible to have two different DN on the same database,
because the rootDN is unique. But you can configure multiple
databases on the same server, that works quite independently
(every db has its own set of overlays/config/replication). When
you create the databases, you must ensure that they don't live in
the same directory (defaults to /var/lib/ldap).
It is possible according to the guide to put extra ACL in cn=config to let users from DB A access content in DB B and the other way around (but it is appended to the own DB ACL). TLS certificates are common to the server as well.
For an easier setup, just create a single dc=mydomain,dc=com
database, put the content in two separate OU, add a cn=admin
account in each OU and configure the ACL to let them manage their
OU and below.
For more details, please read the admin guide.
Regards
Hi,
I am running the openldap server on Red Hat Enterprise Linux release 8.8 (Ootpa)
# rpm -qa | grep -i ldap
sssd-ldap-2.8.2-3.el8_8.x86_64
symas-openldap-servers-2.4.59-1.el8.x86_64
openldap-2.4.46-18.el8.x86_64
symas-openldap-2.4.59-1.el8.x86_64
symas-openldap-clients-2.4.59-1.el8.x86_64
# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.8 (Ootpa)
#
Is there a way to set up two DN's in OpenLDAP server?
dn: cn=admin,dc=corporate,dc=mydomain,dc=com
dn: cn=admin,dc=checker,dc=mydomain,dc=com
Please guide me. Thanks in advance.
Best Regards,
Kaushal