On Tue, Oct 3, 2023 at 11:45 PM Quanah Gibson-Mount <quanah@fast-mail.org> wrote:


--On Monday, October 2, 2023 2:26 PM +0530 Kaushal Shriyan
<kaushalshriyan@gmail.com> 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

This is trivial to create as 2 different entries in your dc=mydomain,dc=com
database.  There's no need for them to be rootdns, you can simply give them
manage access to whatever they need to control.

--Quanah

Thanks Quanah for the email response. Much appreciated. I am not sure if I completely understand it.

Do I need to have the below format as explained by you to create as 2 different entries in your dc=mydomain,dc=com?

dn: cn=admin,ou=corporate,dc=mydomain,dc=com 
dn: cn=admin,ou=checker,dc=mydomain,dc=com

Please guide me. Thanks in advance.

Best Regards,

Kaushal