You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/05/11 23:33:00 UTC
[jira] [Updated] (HADOOP-18603) NPE in LdapAuthenticationHandler as disableHostNameVerification is never initialized
[ https://issues.apache.org/jira/browse/HADOOP-18603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena updated HADOOP-18603:
----------------------------------
Description:
Steps to reproduce this issue:
Enable ldap auth with tls by configuring these in core-site.xml
1. hadoop.http.authentication.multi-scheme-auth-handler.schemes = basic
2. hadoop.http.authentication.multi-scheme-auth-handler.schemes.basic.handler = ldap
3. hadoop.http.authentication.ldap.enablestarttls = true
Trace:
{noformat}
java.lang.NullPointerException
at org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateWithTlsExtension(LdapAuthenticationHandler.java:261)
at org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateUser(LdapAuthenticationHandler.java:238)
at org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticate(LdapAuthenticationHandler.java:202)
{noformat}
was:
Steps to reproduce this issue:
Enable ldap auth with tls by configuring these in core-site.xml
1. hadoop.http.authentication.multi-scheme-auth-handler.schemes = basic
2. hadoop.http.authentication.multi-scheme-auth-handler.schemes.basic.handler = ldap
3. hadoop.http.authentication.ldap.enablestarttls = true
> NPE in LdapAuthenticationHandler as disableHostNameVerification is never initialized
> ------------------------------------------------------------------------------------
>
> Key: HADOOP-18603
> URL: https://issues.apache.org/jira/browse/HADOOP-18603
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Bilwa S T
> Assignee: Bilwa S T
> Priority: Major
> Labels: pull-request-available
>
> Steps to reproduce this issue:
> Enable ldap auth with tls by configuring these in core-site.xml
> 1. hadoop.http.authentication.multi-scheme-auth-handler.schemes = basic
> 2. hadoop.http.authentication.multi-scheme-auth-handler.schemes.basic.handler = ldap
> 3. hadoop.http.authentication.ldap.enablestarttls = true
>
> Trace:
> {noformat}
> java.lang.NullPointerException
> at org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateWithTlsExtension(LdapAuthenticationHandler.java:261)
> at org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticateUser(LdapAuthenticationHandler.java:238)
> at org.apache.hadoop.security.authentication.server.LdapAuthenticationHandler.authenticate(LdapAuthenticationHandler.java:202)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org