Auto select the domain name in the login page

Auto select the domain name in the login page

Domains of a user can be auto filled during login. This can be achieved by searching for the domain names associated with the provided username in the login page.

Say, username 'vembu' exists in only one domain 'Zoho'. So, when we enter the username as 'vembu', the domain field will be auto selected as 'Zoho' in the domain drop down. If the username 'vembu' exists in two domains say 'Zoho' and 'SDP' then we will filter all other domains and show these two domains in the drop down.

To achieve this, we need to enable domain filtering option. This is used to filter the domains associated with the entered username in the login page. To enable this,
                 
Go to Admin >> Security Settings >> Advanced >> Check both " Enable Domain dropdown during login" and " Domain Filtering during login" option >> Save the settings.
     
If not found under Admin tab, then Go to ESM Directory >> Security Settings >> Advanced >> Check both "Enable Domain dropdown during login" and "Domain Filtering during login" option >> Save the settings.

If you are using Active Directory Authentication and need to filter the AD domains, then in addition to the above step you should disable Dynamic user addition. Dynamic user addition is to create a new user in SDP if he is available in your AD. User will be created under the selected domain upon successful authentication. So, when dynamic user addition is enabled, all the public domains will be listed in the login page because any user can be added under any domain. To filter domain names based on the username, this has to be disabled. To disable this,

Go to Admin >> Self-Service Portal Settings >> select "No" for " Allow dynamic user addition when the user is not imported in the application?" >> Save the settings.

If not found under Admin tab, then Go to ESM Directory >> Application Settings >> select "No" for "Allow dynamic user addition when the user is not imported in the application?" >> Save the settings.

Logout and check for the auto select the domain name behavior now.

Note : Auto selecting the domain names based on the username is vulnerable as anyone can give username as input and get the associated domain names for that username. This was considered as a vulnerability in some environments and thus we have options to disable domain filtering & disable domain drop down during login.


                  New to ADSelfService Plus?

                    • Related Articles

                    • Login Page customization

                      Change logo in the login page: -> First go to Global Settings --> Application Settings --> Customize login page -> From the insert image drop-down, you can upload the picture that you would like to show on the login page. Please make sure that the ...
                    • SAML Auto Login with ADFS (in Intranet)

                      Steps to enable Auto-logon: Step 1: In the AD FS server, under Authentication Methods, make sure that Windows Authentication is selected. Step 2: Run the below powershell query to check if "Chrome" is present in the supported WIA agents: ...
                    • Query to list technician name, site, email and login name (MSSQL & PGSQL)

                      The below PGSQL query doesnt work in builds below PGSQL (14000) ERROR: missing FROM-clause entry for table "helpdeskcrew" Pgsql: SELECT HelpDeskCrew.TECHNICIANID "Technician ID", AaaUser.FIRST_NAME "Technician Name",AaaContactInfo.EMAILID "Email", ...
                    • Login Page Customization -> SAML Login

                      NOTE: # No need to alter the changes in the application UI # Ensure to take a copy/backup of the below files before altering the same. STEPS TO FOLLOW: 1. Edit the file Login.html under <Drive>:\ManageEngine\ServiceDeskPlus-MSP\Server\Custom\Login ...
                    • Login Frequency Query Report

                      The below report would help us find the last logged in time of the users in SCP 11.0 SELECT AaaUser.FIRST_NAME "Technician",        MAX(AaaLogin.NAME) "LoginName",        MAX(AaaContactInfo.EMAILID) "Email",        MAX(AaaAccSession.USER_HOST) "IP ...