You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Soumitra Sulav (Jira)" <ji...@apache.org> on 2022/05/03 12:11:00 UTC

[jira] [Commented] (HDDS-6691) [MultiTenancy] User get-secret throws USER_MISMATCH

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

Soumitra Sulav commented on HDDS-6691:
--------------------------------------

Could also be seen due to mock ranger

> [MultiTenancy] User get-secret throws USER_MISMATCH
> ---------------------------------------------------
>
>                 Key: HDDS-6691
>                 URL: https://issues.apache.org/jira/browse/HDDS-6691
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Manager
>    Affects Versions: 1.3.0
>            Reporter: Soumitra Sulav
>            Priority: Critical
>              Labels: ozone-multitenancy
>
> User get-secret API fails with user mismatch even though its kinited with correct user.
>  
> {code:java}
> bash-4.2$ kinit -kt /etc/security/keytabs/testuser.keytab testuser/om
> bash-4.2$ ozone tenant user get-secret 'tenantone$testuser'
> USER_MISMATCH Requested accessId 'tenantone$testuser' doesn't match current user 'testuser/om@EXAMPLE.COM', nor does current user has administrator privilege.{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org