Configuring the LDAP principal name and password
If you use LDAP authentication, use the Contenta Password Manager utility (dbpwdmgr) to configure the LDAP principal name and password.
From the command line run the dbpwdmgr utility to change the LDAP principal name and password.
The following examples shows how to run dbpwdmgr to set the LDAP principal name and password.
Example 1
In this example, the LDAP principal name and password are being set for the first time using the create command.
Contenta_home\bin>dbpwdmgr
Type 'help' for a list of commands.
DBPWDMGR> create
Available options:
1 Configure Contenta database passwords
2 Configure LDAP principle account
3 Configure Crawler principle user password
4 Configure Contenta Web and Contenta Server trust key
r Return to command choices
Your choice:2
Proceeding to configure LDAP principle account.
Press CTRL+C to exit the application.
Enter user name: cn=Ernest Hemingway,ou=People,dc=example,dc=com
Enter NEW user password: ********
Reenter NEW user password: ********
Entry successfully updated.
Example 2
In this example, the LDAP principal name and password has been previously set. The example shows how to change it using the modify command.
Contenta_home\bin>dbpwdmgr
Type 'help' for a list of commands.
DBPWDMGR> modify
Available options:
1 Configure Contenta database passwords
2 Configure LDAP principle account
3 Configure Crawler principle user password
4 Configure Contenta Web and Contenta Server trust key
r Return to command choices
Your choice:2
Proceeding to configure LDAP principle account.
Press CTRL+C to exit the application.
Enter user name: cn=Ernest Hemingway,ou=People,dc=example,dc=com
Enter EXISTING password for ldapuser user : ********
Enter NEW user password: ********
Reenter NEW user password: ********
Entry successfully modified.
For more information about configuring the LDAP principal user and password with the Contenta Password Manager utility, see Using the Contenta Password Manager utility in this documentation.