[ 
https://issues.apache.org/jira/browse/HIVE-21239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Vary updated HIVE-21239:
------------------------------
       Resolution: Fixed
    Fix Version/s: 4.0.0
           Status: Resolved  (was: Patch Available)

Pushed to master.

Thanks for the patch [~zchovan]!

> Beeline help LDAP connection example incorrect
> ----------------------------------------------
>
>                 Key: HIVE-21239
>                 URL: https://issues.apache.org/jira/browse/HIVE-21239
>             Project: Hive
>          Issue Type: Bug
>         Environment: This was tested on a test environment with SSL and LDAP 
> authentication enabled, and seems to be reproducible on any environment with 
> LDAP authentication available in HiveServer2.
>            Reporter: Zsolt Herczeg
>            Assignee: Zoltan Chovan
>            Priority: Major
>              Labels: newbie
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21239.1.patch, HIVE-21239.patch
>
>
> There's the following connection example string in the beeline -h command 
> output:
>  
> {code:java}
> 5. Connect using LDAP authentication
> $ beeline -u jdbc:hive2://hs2.local:10013/default <ldap-username> 
> <ldap-password>
> {code}
> When a user attempts to connect like above, it'll fail with LDAP 
> authentication failure. This is because username and passwords are not picked 
> up in the shown form. A working example would be:
> {code:java}
> $ beeline -n <ldap-username> -p <ldap-password> -u 
> jdbc:hive2://hs2.local:10013/default
> {code}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to