Bootstrap FreeKB - IBM Portal - Define the Portal Admin ID (PortalAdminID) in Workplace Properties file (wkplc.properties)
IBM Portal - Define the Portal Admin ID (PortalAdminID) in Workplace Properties file (wkplc.properties)

Updated:   |  IBM Portal articles

By default, the workplace properties file (wkplc.properties) is located at the following directory on a Linux system.

/opt/WebSphere/AppServer/profiles/<your profile>/ConfigEngine/properties/wkplc.properties

 

The PortalAdminId directive in the wkplc.properties file is used to define the user ID that will be used when the ConfigEngine.sh script attempts to authenticate. In this example, user 'john.doe' is obtain from the LDAP 'People' Organizational Unit (OU) in the example.com domain.

AVOID TROUBLE

When the PortalAdminId references a LDAP Person Account, you will probably need to ensure the value begins with cn= or uid=

PortalAdminId=uid=john.doe,ou=People,dc=example,dc=com

 

  1. In the admin console, select Security > Global Security.
  2. Select Configure.
  3. Select the example.com LDAP domain.

Typically, Bind distinguished name should match the PortalAdminID.

 

The Bind distinguished name will also be found in the /opt/WebSphere/AppServer/profiles/your_profile/config/cells/your_cell/security.xml file.

<userRegistries
 xmi:type="security:LDAPUserRegistry"
 xmi:id="LDAPUserRegistry_1"
 serverId="cn=john.doe,ou=mgmt,ou=svcs,o=example"
 serverPassword="{xor}ABCuH2omag=="
 realm="ldap.example.com:389"
 ignoreCase="true"
 useRegistryServerId="true"
 primaryAdminId="cn=john.doe,ou=mgmt,ou=svcs,o=example"
 type="NDS"
 sslEnabled="false"
 sslConfig=""
 baseDN="o=example"
 bindDN="cn=admin,ou=mgmt,ou=svcs,o=example"
 bindPassword="{xor}XYZtKz4z"
 searchTimeout="120"
 reuseConnection="true"
>

 

Select LDAP Test Query. Enter the bind password, and then enter a search string. In this example, we are searching LDAP for a user with ID JohnDoe.

 

If LdapSearch Result produces a result, this verifies that LDAP is working as expected.

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter d92e7f in the box below so that we can be sure you are a human.