[ https://issues.apache.org/jira/browse/HIVE-12885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15106195#comment-15106195 ]
Hive QA commented on HIVE-12885: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12782920/HIVE-12885.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 6 failed/errored test(s), 10024 tests executed *Failed tests:* {noformat} TestHWISessionManager - did not produce a TEST-*.xml file org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import org.apache.hadoop.hive.ql.TestTxnCommands.testErrors org.apache.hadoop.hive.ql.exec.spark.session.TestSparkSessionManagerImpl.testMultiSessionMultipleUse org.apache.hadoop.hive.ql.exec.spark.session.TestSparkSessionManagerImpl.testSingleSessionMultipleUse org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6665/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6665/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-6665/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 6 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12782920 - PreCommit-HIVE-TRUNK-Build > LDAP Authenticator improvements > ------------------------------- > > Key: HIVE-12885 > URL: https://issues.apache.org/jira/browse/HIVE-12885 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 1.1.0 > Reporter: Naveen Gangam > Assignee: Naveen Gangam > Attachments: HIVE-12885.patch > > > Currently Hive's LDAP Atn provider assumes certain defaults to keep its > configuration simple. > 1) One of the assumptions is the presence of an attribute > "distinguishedName". In certain non-standard LDAP implementations, this > attribute may not be available. So instead of basing all ldap searches on > this attribute, getNameInNamespace() returns the same value. So this API is > to be used instead. > 2) It also assumes that the "user" value being passed in, will be able to > bind to LDAP. However, certain LDAP implementations, by default, only allow > the full DN to be used, just short user names are not permitted. We will need > to be able to support short names too when hive configuration only has > "BaseDN" specified (not userDNPatterns). So instead of hard-coding "uid" or > "CN" as keys for the short usernames, it probably better to make this a > configurable parameter. -- This message was sent by Atlassian JIRA (v6.3.4#6332)