[jira] [Commented] (HIVE-12007) Hive LDAP Authenticator should allow just Domain without baseDN (for AD)

2016-02-05 Thread Lefty Leverenz (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15135479#comment-15135479
 ] 

Lefty Leverenz commented on HIVE-12007:
---

[~szehon] or [~ctang.ma], this was committed to master in October for release 
2.0.0 and to branch-1 today for release 1.3.0 so Fix Version/s needs to be 
updated.  Thanks.

> Hive LDAP Authenticator should allow just Domain without baseDN (for AD)
> 
>
> Key: HIVE-12007
> URL: https://issues.apache.org/jira/browse/HIVE-12007
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 1.1.0
>Reporter: Naveen Gangam
>Assignee: Naveen Gangam
> Attachments: HIVE-12007.patch, HIVE-12007.patch
>
>
> When the baseDN is not configured but only the Domain has been set in 
> hive-site.xml, LDAP Atn provider cannot locate the user in the directory. 
> Authentication fails in such cases. This is a change from the prior 
> implementation where the auth request succeeds based on being able to bind to 
> the directory. This has been called out in the design doc in HIVE-7193. 
> But we should allow this for now for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-12007) Hive LDAP Authenticator should allow just Domain without baseDN (for AD)

2016-02-05 Thread Chaoyu Tang (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15135505#comment-15135505
 ] 

Chaoyu Tang commented on HIVE-12007:


Thanks, [~leftylev] I updated the Fix Versions

> Hive LDAP Authenticator should allow just Domain without baseDN (for AD)
> 
>
> Key: HIVE-12007
> URL: https://issues.apache.org/jira/browse/HIVE-12007
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 1.1.0
>Reporter: Naveen Gangam
>Assignee: Naveen Gangam
> Fix For: 1.3.0, 2.0.0
>
> Attachments: HIVE-12007.patch, HIVE-12007.patch
>
>
> When the baseDN is not configured but only the Domain has been set in 
> hive-site.xml, LDAP Atn provider cannot locate the user in the directory. 
> Authentication fails in such cases. This is a change from the prior 
> implementation where the auth request succeeds based on being able to bind to 
> the directory. This has been called out in the design doc in HIVE-7193. 
> But we should allow this for now for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-12007) Hive LDAP Authenticator should allow just Domain without baseDN (for AD)

2015-10-05 Thread Hive QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14943272#comment-14943272
 ] 

Hive QA commented on HIVE-12007:




{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12764972/HIVE-12007.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 9613 tests executed
*Failed tests:*
{noformat}
TestMiniTezCliDriver-vector_coalesce.q-auto_sortmerge_join_7.q-dynamic_partition_pruning.q-and-12-more
 - did not produce a TEST-*.xml file
TestMiniTezCliDriver-vectorized_parquet.q-vector_char_mapjoin1.q-tez_insert_overwrite_local_directory_1.q-and-12-more
 - did not produce a TEST-*.xml file
org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation
org.apache.hive.jdbc.TestMultiSessionsHS2WithLocalClusterSpark.testSparkQuery
{noformat}

Test results: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5532/testReport
Console output: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5532/console
Test logs: 
http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5532/

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12764972 - PreCommit-HIVE-TRUNK-Build

> Hive LDAP Authenticator should allow just Domain without baseDN (for AD)
> 
>
> Key: HIVE-12007
> URL: https://issues.apache.org/jira/browse/HIVE-12007
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 1.1.0
>Reporter: Naveen Gangam
>Assignee: Naveen Gangam
> Attachments: HIVE-12007.patch, HIVE-12007.patch
>
>
> When the baseDN is not configured but only the Domain has been set in 
> hive-site.xml, LDAP Atn provider cannot locate the user in the directory. 
> Authentication fails in such cases. This is a change from the prior 
> implementation where the auth request succeeds based on being able to bind to 
> the directory. This has been called out in the design doc in HIVE-7193. 
> But we should allow this for now for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-12007) Hive LDAP Authenticator should allow just Domain without baseDN (for AD)

2015-10-05 Thread Naveen Gangam (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14943409#comment-14943409
 ] 

Naveen Gangam commented on HIVE-12007:
--

There were 2 test failures and both of them do not appear to be related to the 
fix proposed in the patch.

> Hive LDAP Authenticator should allow just Domain without baseDN (for AD)
> 
>
> Key: HIVE-12007
> URL: https://issues.apache.org/jira/browse/HIVE-12007
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 1.1.0
>Reporter: Naveen Gangam
>Assignee: Naveen Gangam
> Attachments: HIVE-12007.patch, HIVE-12007.patch
>
>
> When the baseDN is not configured but only the Domain has been set in 
> hive-site.xml, LDAP Atn provider cannot locate the user in the directory. 
> Authentication fails in such cases. This is a change from the prior 
> implementation where the auth request succeeds based on being able to bind to 
> the directory. This has been called out in the design doc in HIVE-7193. 
> But we should allow this for now for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-12007) Hive LDAP Authenticator should allow just Domain without baseDN (for AD)

2015-10-01 Thread Szehon Ho (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14940241#comment-14940241
 ] 

Szehon Ho commented on HIVE-12007:
--

Backward compatibility is important, +1

> Hive LDAP Authenticator should allow just Domain without baseDN (for AD)
> 
>
> Key: HIVE-12007
> URL: https://issues.apache.org/jira/browse/HIVE-12007
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 1.1.0
>Reporter: Naveen Gangam
>Assignee: Naveen Gangam
> Attachments: HIVE-12007.patch
>
>
> When the baseDN is not configured but only the Domain has been set in 
> hive-site.xml, LDAP Atn provider cannot locate the user in the directory. 
> Authentication fails in such cases. This is a change from the prior 
> implementation where the auth request succeeds based on being able to bind to 
> the directory. This has been called out in the design doc in HIVE-7193. 
> But we should allow this for now for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-12007) Hive LDAP Authenticator should allow just Domain without baseDN (for AD)

2015-10-01 Thread Naveen Gangam (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14940267#comment-14940267
 ] 

Naveen Gangam commented on HIVE-12007:
--

code posted for review at https://reviews.apache.org/r/38936/

> Hive LDAP Authenticator should allow just Domain without baseDN (for AD)
> 
>
> Key: HIVE-12007
> URL: https://issues.apache.org/jira/browse/HIVE-12007
> Project: Hive
>  Issue Type: Bug
>  Components: HiveServer2
>Affects Versions: 1.1.0
>Reporter: Naveen Gangam
>Assignee: Naveen Gangam
> Attachments: HIVE-12007.patch
>
>
> When the baseDN is not configured but only the Domain has been set in 
> hive-site.xml, LDAP Atn provider cannot locate the user in the directory. 
> Authentication fails in such cases. This is a change from the prior 
> implementation where the auth request succeeds based on being able to bind to 
> the directory. This has been called out in the design doc in HIVE-7193. 
> But we should allow this for now for backward compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)