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

Gabor Somogyi closed FLINK-32465.
---------------------------------
    Fix Version/s: 1.18.0
                   1.17.2
       Resolution: Fixed

> KerberosLoginProvider.isLoginPossible does accidental login with keytab
> -----------------------------------------------------------------------
>
>                 Key: FLINK-32465
>                 URL: https://issues.apache.org/jira/browse/FLINK-32465
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Core
>    Affects Versions: 1.18.0, 1.17.2
>            Reporter: Gabor Somogyi
>            Assignee: Gabor Somogyi
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.18.0, 1.17.2
>
>
> In KerberosLoginProvider.isLoginPossible there is a call to 
> UserGroupInformation.getCurrentUser() before principal check (keytab usage). 
> This triggers an accidental login with either kerberos credentials if 
> available, or as the local OS user, based on security settings. This is not 
> problematic most of the time since KerberosLoginProvider.doLogin overwrites 
> the credentials with keytab. The problem hurts however when login fails for 
> whatever reason. Such case the workload is just not starting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to