Comments - Authentication Plugin - GSSAPI

7 years, 5 months ago Pavel Katiushyn

klist shows default principal:

Default principal: user2@DOMAIN.LOCAL

Is there any way to login with different user, than the one running process. When I try, I get error:

mysql -uuser1 -p
ERROR 1045 (28000): GSSAPI name mismatch, requested 'user1', actual name 'user2@DOMAIN.LOCAL'
 
7 years, 5 months ago Vladislav Vaintroub

You need a kinit for the new user

you need to provide username, and maybe a keytab if you want to authenticate passwordless. Take a look at this

https://community.hortonworks.com/questions/5488/what-are-the-required-steps-we-need-to-follow-in-s.html

 
7 years, 5 months ago Pavel Katiushyn

Thanks. I also found this good description, if someone has same issue: https://kb.iu.edu/d/aumh

 
7 years, 5 months ago Vladislav Vaintroub

Is this a question? The message means you can authenticate as GSSAPI user, but there is a name mismatch between the user definition in MySQL and the actual principal name returned by GSSAPI.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.