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

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

PIM Enterprise Management is configured with multiple LDAP servers as per documentation and CA Directory router to two Active Directory directories. On the login page, the domain field shows a "null". Users can type in their domain and log in without any issues. With two domains configured, could the login page be customized with a drop down to select domain domain?

Environment

Privileged Identity Manager ENTM, 12.9

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.