[ 
https://issues.apache.org/jira/browse/AMBARI-26304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923171#comment-17923171
 ] 

Vishal Suvagia commented on AMBARI-26304:
-----------------------------------------

Below is the error observed:
{noformat}
2025-01-22 15:09:16,082  INFO [ambari-client-thread-55] 
FilterBasedLdapUserSearch:82 - Searches will be performed from the root 
dc=apache,dc=org since SearchBase not set
2025-01-22 15:09:16,229  INFO [ambari-client-thread-55] 
AmbariLdapBindAuthenticator:92 - User with samAccountName='adminalphaac' logged 
in with login alias 'adminalphaac'
2025-01-22 15:09:16,261  WARN [ambari-client-thread-55] HttpChannel:776 - 
/api/v1/auth
java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because 
"this.authenticationKey" is null
at 
org.apache.ambari.server.orm.entities.UserAuthenticationEntity.getAuthenticationKey(UserAuthenticationEntity.java:104)
at 
org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProvider.getUserEntity(AmbariLdapAuthenticationProvider.java:277)
at 
org.apache.ambari.server.security.authorization.AmbariLdapAuthenticationProvider.authenticate(AmbariLdapAuthenticationProvider.java:92)
at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:182)
at 
org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:201)
at 
org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$AuthenticationManagerDelegator.authenticate(WebSecurityConfigurerAdapter.java:531)
{noformat}

> User authentication fails for previously sync'd LDAP / AD based users
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-26304
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26304
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-admin, ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Vishal Suvagia
>            Assignee: Vishal Suvagia
>            Priority: Major
>
> User authentication and login fails for LDAP AD based users which were 
> previously sync'd. this is a side effect of fix in AMBARI-26061



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to