Subscribe to PortalGuard's Quarterly Newsletter for News & Updates on the Latest Release! Click to Subscribe
Allowing both username and username@domain format to login to PortalGuard
- Edit the User repository
- To move forward, you will need to determine which field in AD you will use for the username@domain format. The steps below Assume userPrincipalName, but you may wish to use the mail field or something else.
I. Open the PortalGuard Configuration Editor
II. Under ‘User Repositories’ edit the repository that this will apply to.
III. Navigate to the ‘LDAP Advanced’ tab
IV. Update the ‘Login Field’ to use userPrincipalName
V. In the section below, update the ‘User Search Filter’ by clicking the View/Edit button
VI. Update the Search filter to the following:
VII. Click ‘Apply to PortalGuard Server’
VIII. Click ‘Sync’
IX. From an elevated CMD, run the following command:
X. Browse to your PortalGuard website and attempt to login with the username@domain format and enroll the account if necessary. Once you have successfully logged in to PortalGuard, log out and then attempt a login with the same account, but using the sAMAccountName instead (i.e. username). You should not be prompted to enroll again.