cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Default Bind DN for OpenDJ

SWeiler_9940261
12-Amethyst

Default Bind DN for OpenDJ

Has anyone found a way to set the default Bind DN for OpenDJ? It defaults to "CN=Directory Manager" and I would like it to default to "CN=Manager" instead.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Florent
14-Alexandrite
(To:SWeiler_9940261)

You can simply add the alias "CN=Manager" to the default one "CN=Directory Manager" (or the reverse).

 

It's in the config.ldif file (<OpenDJ_HOME>/config/config.ldif). Look for "Directory Manager" and add the required line:

 

ds-cfg-alternate-bind-dn: cn=Directory Manager
ds-cfg-alternate-bind-dn: cn=Manager

 

 

Restart OpenDJ and you will be able to use either one.

 

Florent ROUSSEL
www.4cad.ca

View solution in original post

5 REPLIES 5

I would like to know how to do that too.  We can set the Bind DN to "CN=Manager" during OpenDJ installation, but the login GUI continues to defaults "CN=Directory Manager".

I found this: The default value for the bind DN is for the root DN user, cn=Directory Manager.

https://docs.oracle.com/cd/E19450-01/820-6169/to-start-the-controlpanel.html

 

We set Bind DN to "CN=Manager", so would it be a step to set the root DN user to "cn=Manager"?

 

Florent
14-Alexandrite
(To:SWeiler_9940261)

You can simply add the alias "CN=Manager" to the default one "CN=Directory Manager" (or the reverse).

 

It's in the config.ldif file (<OpenDJ_HOME>/config/config.ldif). Look for "Directory Manager" and add the required line:

 

ds-cfg-alternate-bind-dn: cn=Directory Manager
ds-cfg-alternate-bind-dn: cn=Manager

 

 

Restart OpenDJ and you will be able to use either one.

 

Florent ROUSSEL
www.4cad.ca

I already have "ds-cfg-alternate-bind-dn: cn=Manager" in the config.ldif file and I am able to login as cn=Manager. The issue is that when I launch control panel the login GUI defaults to "cn=Directory Manager" for the Bind DN and I would like it to default to "cn=Manager" so that I don't have to change it each time I launch.

 

Florent
14-Alexandrite
(To:SWeiler_9940261)

That's the whole purpose of this: you don't have to change it each time.

Let it to "cn=Directory Manager". I don't see the point to change it since it's the same account.

Florent ROUSSEL
www.4cad.ca
Announcements