Domain field on login with multiple ldap shows null value..

book

Article ID: 145358

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM)

Issue/Introduction

Using multiple ldap servers as per documentation. CA Directory router to two Active Directory directories.
At login the domain field shows a "null".
Users can type in their domain and log in ok.
We have two domains. Would like to customize login page with drop down to select domain domain.

Environment

Release : 12.9

Component : PAM SERVER COMPONENTS (WEB INTERFACE/JBOSS)

Resolution

1. Shut down jboss

2. Delete the work and temp folders.

3. Make a backup copy of \server\default\deploy\IdentityMinder.ear\user_console.war\app\ac\ac_login.jsp

4. Edit ac_login.jsp and find the line:

<td><input class="r5_loginField" type="text" name="domain" value="<%=domainName%>" /></td>

5. And replace it with the following, replacing a.com and b.com with your domain names:

<td>
  <select class="r5_loginField" name="domain"> 
    <option value="a.com">a.com</option>
    <option value="b.com">b.com</option>
  </select>
</td>

6. Start jboss and try logging in. You should get a drop down listing the domains.

Note that ac_login.jsp might get overwritten by fixes, and almost certainly will with upgrades, so keep a record of your changes and test if/when you apply fixes and/or upgrade.