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

ASF subversion and git services commented on IMPALA-13746:
----------------------------------------------------------

Commit e9a706723df3e65df974e958d8d7d649aa4c1944 in impala's branch 
refs/heads/master from Csaba Ringhofer
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e9a706723 ]

IMPALA-13746: (addendum) Adding missing comment to IMPALA-13746

The rebase in PS6 removed the comment by mistake:
https://gerrit.cloudera.org/#/c/22780/5..6/fe/src/test/java/org/apache/impala/testutil/LdapUtil.java

Change-Id: Iebf740f16c7fd38551e1e42a30faba1d793dc907
Reviewed-on: http://gerrit.cloudera.org:8080/22788
Reviewed-by: Riza Suminto <[email protected]>
Reviewed-by: Csaba Ringhofer <[email protected]>
Tested-by: Csaba Ringhofer <[email protected]>


> impala-shell handles long ldap passwords incorrectly
> ----------------------------------------------------
>
>                 Key: IMPALA-13746
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13746
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Csaba Ringhofer
>            Assignee: Csaba Ringhofer
>            Priority: Critical
>              Labels: ramp-up
>
> Found this while checking if impyla fix 
> https://github.com/cloudera/impyla/pull/562 is also relevant for impala-shell.
> To reproduce:
> {code}
> python shell/impala_shell.py --protocol=hs2-http --ldap 
> --ldap_password_cmd="echo verylongpasswordthatcreatesalongbasic64encodin" 
> --auth_creds_ok_in_clear
> 2025-02-10 15:21:30 [Exception] type=<class 'ValueError'> in OpenSession. Num 
> remaining tries: 3 Invalid header value b'Basic 
> Y3NyaW5naG9mZXI6dmVyeWxvbmdwYXNzd29yZHRoYXRjcmVhdGVzYWxvbmdiYXNpYzY0ZW5jb2Rp\nbgo='
> {code}
> The problem comes from the \n added during base64 encoding.



--
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