Venkatasiva Nagi Reddy Adapa Posted April 11, 2019 Share Posted April 11, 2019 In Spotfire Server.log I see a error : Failed to authenticate user 'xxxxx' Even tough userlogs in successfully. We Have LDAP for Authentication and Autherization, and If you can see the screenshot SPOTIFRE domine users logs are normal. We are Using Spotfire 7.11.1 LTS upgraded to 7.11.2 LTS. Link to comment Share on other sites More sharing options...
Prashant Anand Posted April 11, 2019 Share Posted April 11, 2019 Do you also see "Successfully authenticated user '2278433' " after the failed authentication message Do you have a user account with this name in your Spotfire database as well as your Active Directory Link to comment Share on other sites More sharing options...
Venkatasiva Nagi Reddy Adapa Posted April 11, 2019 Author Share Posted April 11, 2019 I dont see "Successfully authenticated user '2278433' . Yes this user is in Both Spotfire Database and Active Directory. Link to comment Share on other sites More sharing options...
Prashant Anand Posted April 12, 2019 Share Posted April 12, 2019 Please check the domain of the user that logged in. Example: If abc user is able to log in, check if it shows logged in user as abc@SPOTFIRE domain or abc@yourADdomain. Link to comment Share on other sites More sharing options...
Prashant Anand Posted April 12, 2019 Share Posted April 12, 2019 Thanks for the information, Venkat. Here's the thing. The message "Failed to authenticate user 'xxxxx' " is because by default, Spotfire first goes to the database to look for this user information. This is as designed and when LDAP is enabled, Spotfire will still check for the user in database and if it fails, it will then go to the AD. So in your case, the authentication against database is failing and it is authenticated against AD. That's the reason you see the authentication failed message. If you check the full message it says: "dbLogin.dbLoginModule:Failed to authenticate user 'xxxxx' ", meaning it is failing against the database authentication. Later in the logs, you will see a message like the following: jaas.ldap.LDAPLoginModule: Successfully authenticated user 'xxxxx' If the use logged in successfully, this has to be there. Link to comment Share on other sites More sharing options...
Venkatasiva Nagi Reddy Adapa Posted April 12, 2019 Author Share Posted April 12, 2019 Thank You Anand for reply. first following is logged "dbLogin.dbLoginModule:Failed to authenticate user 'xxxxx' " Even tough login is succesfull even after 10 mins I dont see "jaas.ldap.LDAPLoginModule: Successfully authenticated user 'xxxxx' " Link to comment Share on other sites More sharing options...
Prashant Anand Posted April 12, 2019 Share Posted April 12, 2019 Venkat, it looks like you have logs set at "info" level. If you enable "debug" logging on the server, you will see the message "jaas.ldap.LDAPLoginModule: Successfully authenticated user 'xxxxx' ". Link to comment Share on other sites More sharing options...
Venkatasiva Nagi Reddy Adapa Posted April 12, 2019 Author Share Posted April 12, 2019 Thanks Anand I was able to see Succesully logged user in Debug logs. Link to comment Share on other sites More sharing options...
Prashant Anand Posted April 12, 2019 Share Posted April 12, 2019 Yes, Venkat. "Debug" fills up the logs very fast and takes more space. It is used only for troubleshooting purpose. It is recommended to switch it back to "info" after the test/troubleshooting is done. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now