Thanks for the prompted response.
I have commented the ExternalAuthId as mentioned on the thread, but it started with the beginning issue, not loading to next page once successful login.
Log:
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:365)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Calling UserExists with $username (test) and $service (My_LDAP) (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:407)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: UserExists params:
username: test , service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:566)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: LDAP Search === Base: dc=test,dc=local == Filter: (&(objectclass=person)(sAMAccountName=test)) == Attrs: sAMAccountName,mail,cn,sAMAccountName (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:611)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Password validation required for service - Executing… (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:460)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Trying external auth service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:218)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: LDAP Search === Base: dc=test,dc=local == Filter: (&(objectclass=person)(sAMAccountName=test)) == Attrs: dn (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:261)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Found LDAP DN: CN=Test,OU=test-Users,DC=test,DC=local (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:303)
[295506] [Thu Nov 16 06:48:39 2023] [info]: RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): test (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:384)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: LDAP password validation result: 1 (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:646)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Password Validation Check Result: 1 (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:464)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Authentication successful. Now updating user information and attempting login. (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:488)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: UserExists params:
username: test , service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:566)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: LDAP Search === Base: dc=test,dc=local == Filter: (&(objectclass=person)(sAMAccountName=test)) == Attrs: sAMAccountName,mail,cn,sAMAccountName (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:611)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: UserExists params:
username: test , service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:566)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: LDAP Search === Base: dc=test,dc=local == Filter: (&(objectclass=person)(sAMAccountName=test)) == Attrs: sAMAccountName,mail,cn,sAMAccountName (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:611)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: No d_filter specified for this LDAP service ( My_LDAP ), so considering all users enabled (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:689)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: RT::User::CanonicalizeUserInfoFromExternalAuth called by RT::User /opt/rt5/sbin/…/lib/RT/User.pm 872 with: Name: test (/opt/rt5/sbin/…/lib/RT/User.pm:906)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Attempting to get user info using this external service: My_LDAP (/opt/rt5/sbin/…/lib/RT/User.pm:914)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Attempting to use this canonicalization key: Name (/opt/rt5/sbin/…/lib/RT/User.pm:923)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: LDAP Search === Base: dc=test,dc=local == Filter: (&(objectclass=person)(sAMAccountName=test)) == Attrs: sAMAccountName,streetAddress,uid,o,telephoneNumber,cn,physicalDeliveryOfficeName,mail (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:451)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Found one matching record (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth/LDAP.pm:490)
[295506] [Thu Nov 16 06:48:39 2023] [info]: RT::User::CanonicalizeUserInfoFromExternalAuth returning Address1: , Address2: , EmailAddress: , Gecos: , Name: test, Organization: , RealName: Test, WorkPhone: (/opt/rt5/sbin/…/lib/RT/User.pm:981)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: UPDATED user ( test ) from External Service (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:619)
[295506] [Thu Nov 16 06:48:39 2023] [info]: Successful login for test from 10.10.101.146 (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:529)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Autohandler called ExternalAuth. Response: (1, Successful login) (/opt/rt5/share/html/Elements/DoAuth:58)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:365)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:394)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt5/share/html/Elements/DoAuth:58)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:365)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: SSO Failed and no user to test with. Nexting (/opt/rt5/sbin/…/lib/RT/Authen/ExternalAuth.pm:394)
[295506] [Thu Nov 16 06:48:39 2023] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt5/share/html/Elements/DoAuth:58)
Config:
Set($ExternalAuthPriority, [ ‘My_LDAP’] );
Set($ExternalInfoPriority, [“My_LDAP”] );
Set($ExternalServiceUsesSSLorTLS, 1);
Set($ExternalSettings, {
‘My_LDAP’ => {
‘type’ => ‘ldap’,
‘server’ => ‘10.10.x.x’,
‘user’ => ‘admin@test.local’,
‘pass’ => ‘admin123’,
‘base’ => ‘dc=test,dc=local’,
‘filter’ => ‘(objectclass=person)’,
‘d_filter’ => ‘(FILTER_STRING)’,
‘group’ => ‘(memberof=CN=RTUsers,CN=Users,DC=test,DC=local)’,
‘group_attr’ => ‘GROUP_ATTR’,
'tls' => 0,
'ssl_version' => 3,
'net_ldap_args' => [ version => 3 ],
‘group_scope’ => ‘base’,
‘group_attr_value’ => ‘GROUP_ATTR_VALUE’,
'attr_match_list' => [
'Name',
'EmailAddress',
'RealName',
],
'attr_map' => {
‘Name’ => ‘uid’,
'Name' => 'sAMAccountName',
'EmailAddress' => 'mail',
'Organization' => 'o',
'RealName' => 'cn',
‘ExternalAuthId’ => ‘uid’,
'Gecos' => 'uid',
'WorkPhone' => 'telephoneNumber',
'Address1' => 'streetAddress',
'Address2' => 'physicalDeliveryOfficeName'
},
},
} );
Appreciated for your response!!