...
Change the LDAP configuration in the properties file and rerun the script until tests are successful.
Updating LDAP
...
Configuration
Once LDAP configuration has been tested and found valid, use the following command to perform the change in the configuration file and System Parameters:
...
Note |
---|
After running this script, the LDAP configuration has been updated, but has not been enabled. Follow the steps below to enable LDAP configuration. |
Enabling LDAP
...
Configuration
Enabling LDAP in
...
Configuration File (server.xml)
Edit the following file:
Code Block | ||||
---|---|---|---|---|
| ||||
vi /app/ui/MonTier-UI/conf/server.xml |
...
Restart DPOD's Web Console to take LDAP configuration into effect.
Disabling LDAP Configuration
Use the following command to disable LDAP configuration in System Parameters:
Code Block | ||||
---|---|---|---|---|
| ||||
/app/scripts/app_ldap_utilities.sh -d |
Note |
---|
Make sure DPOD services are up and running before disabling the LDAP configuration. |
The command output should be:
Code Block | ||||
---|---|---|---|---|
| ||||
INFO: LDAP configuration has been disabled in System Parameters only. To fully disable it: INFO: 1. Manually edit server.xml, uncomment DataSourceRealm and comment LDAPRealm. INFO: 2. Restart the UI service. INFO: See the product documentation for more details. INFO: The operation completed successfully. |
Disabling LDAP in Configuration File (server.xml)
Edit the following file:
Code Block | ||||
---|---|---|---|---|
| ||||
vi /app/ui/MonTier-UI/conf/server.xml |
DPOD's internal database registry has to be enabled. To do that, remove the comment that wraps the DataSourceRealm element:
Code Block | ||||
---|---|---|---|---|
| ||||
<Realm className="org.apache.catalina.realm.DataSourceRealm"
...
/> |
Comment out the LDAPRealm element:
Code Block | ||||
---|---|---|---|---|
| ||||
<!--
<Realm className="org.montier.common.tomcat.LDAPRealm"
...
/>
--> |
Restart DPOD's Web Console
Restart DPOD's Web Console to take LDAP configuration into effect.
Manually Inspecting LDAP Configuration
Inspecting LDAP Configuration in
...
Configuration File (server.xml)
Edit the following file and look for LDAPRealm element. This element contains all the configuration set automatically by the script.
...