Spotfire server uses the LDAP attributes defined in the Spotfire server LDAP configuration. While logging into Spotfire, user should enter the username that match's the LDAP attribute as per Spotfire server LDAP configuration.
Example: If you set the username attribute as "userPrincipalName" , then you need to enter a username as "user@domain.com".
If you set the username attribute as "samAccountName", then you need to enter a username as "user".
* When username attribute as "userPrincipalName" :
* When username attribute as "sAMAccountName" :
- When you change
username attribute under Advanced Settings in Spotfire server LDAP Configuration from "samAccountName" to "userPrincipalName" or "mail" then new entries for
user@domain.com will get added in Spotfire.
- After changing
username attribute as above, user won't be able to login in Spotfire.
- The following error appears in Spotfire server logs (server.log):
-----------------
DEBUG 2019-02-20T08:54:35,194-0400 [unknown, #0] jaas.ldap.LDAPLoginModule: Authenticating user 'test@xyz.com' in LDAPLoginModule
DEBUG 2019-02-20T08:T08:54:35,194-0400 [unknown, #0] jaas.ldap.LDAPLoginModule: Parsing the username into a user and a domain part
DEBUG 2019-02-20T08:T08:54:35,195-0400 [unknown, #0] jaas.ldap.LDAPLoginModule: The specified domain name does not match any of the domains handled by this instance: 'XYZ', 'ABC'
TRACE 2019-02-20T08:T08:54:35,195-0400 [unknown, #0] jaas.ldap.LDAPLoginModule: This login module doesn't handle domain xyz.com
ERROR 2019-02-20T08:T08:54:35,195-0400 [unknown, #0] server.security.AuthenticationManager: Error authenticating user 'test@xyz.com'
------------------