On Mon, Oct 2, 2023 at 2:37 PM Ulf Volmer <u.volmer@u-v.de> wrote:
On 02.10.23 09:56, Kaushal Shriyan wrote:

> 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

If you are still talking about rootdn: No that is not possible.
You can have only one rootdn per database.

But you can give any LDAP user the same privileges by setting the ACLs
propperly.

Please consult man slapd.access or the admin guide.

Best regards
Ulf

Thanks Ulf for the quick response and detailed explanation. So do I need to have two openldap servers running on Red Hat Enterprise Linux release 8.8 (Ootpa)

For example

corporate.mydomain.com 
dn: cn=admin,dc=corporate,dc=mydomain,dc=com on openldap on port 389

checker.mydomain.com 
dn: cn=admin,dc=checker,dc=mydomain,dc=com on openldap on port 390 

Please guide me. Thanks in advance.

Best Regards,

Kaushal