Re: Unable to SSH with Kerberos user

"Rocky Hotas" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.general
Message-ID <trinity-3de26004-5a83-4fa0-928f-4e6e5d9b3546-1579973096774@3c-app-mailcom-lxa13>
Sent: Saturday, January 25, 2020 at 5:51 PM
From: "Patrick Marc Preuß" <[email protected]>
To: "Rocky Hotas" <[email protected]>
Subject: Re: Unable to SSH with Kerberos user

> Hi rocky 
 
Hi :)!

> Have a look into the ssh somewhere around line 115:

> debug1: Next authentication method: gssapi-with-mic
> debug1: Unspecified GSS failure.  Minor code may provide more information
> Server host/[email protected] not found in Kerberos database
 
> gssapi is selected but not ticket grated due to missing service principal for the server.

Thanks for your patience in looking the logs.
Maybe you meant "granted". Ok! I executed in server `kadmin.local' and:

kadmin.local:  addprinc -randkey host/xubtest.xexample.intk
WARNING: no policy specified for host/[email protected]; defaulting to no policy
Principal "host/[email protected]" created.
kadmin.local:  addprinc -randkey host/xubcl1.xexample.intk
WARNING: no policy specified for host/[email protected]; defaulting to no policy
Principal "host/[email protected]" created.

Hope this is correct. Then, I tried again with ssh, and this is the
result: https://pastebin.com/vDX0Gt67

The error you mentioned is disappeared, but the behaviour is apparently
the same (password required and permission denied even with the correct
password).

> HTH

Yes, of course! Those principals must be created.
 
Thanks,

Rocky


________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.