[
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/[email protected]', nor does current user has administrator
> privilege.{code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]