Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: GSSAPI MIC check |
|---|---|
| Date: | Mon, 16 Jul 2007 19:39:22 +0200 |
Simon Wilkinson <simon@sxw.org.uk> writes:
On 5 Jul 2007, at 03:47, Fredrik Tolf wrote:I'm having some trouble SSH:ing from FreeBSD systems to Linux systems using GSSAPI authentication. The sshd on the server complains with "GSSAPI MIC check failed".This is usually a Kerberos library version issue. Which Kerberos libraries are you using on either side of the connection. If you are using Heimdal on the FreeBSD side, can you update to a later version?
Yes, you are right. I managed to find it out on my own very recently. I was going to post back to this list with the solution, but you replied earlier than that. :) As it turns out, FreeBSD ships with Heimdal 0.6, and Heimdal versions *earlier* than that had a broken implementation of the MIC generation. It is actually fixed in 0.6, but it still ships with the old, broken version turned on by default, to not break compatibility with previous installations. However, it is apparently possible to tell Heimdal 0.6 to use the correct MIC generation for selected principals. You add something akin to the following to your /etc/krb5.conf: [gssapi] correct_des3_mic = host/*@YOUR.REALM You can specify multiple "corrent_des3_mic" entries if you want, and the right side of it is parsed as a normal principal and matched against the target principal in the normal manner. I've read that Heimdal 0.7 has correct MIC generation turned on by default, and if you wish to interoperate with older, broken servers, you would need to specify "broken_des3_mic" entries for those servers instead. I hope this will be useful to someone else. While I've been googling around for this answer, I appear not to have been alone in my problems. Fredrik Tolf
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Ensuring remote ssh process has terminated, Fusco, John (GE Healthcare) |
|---|---|
| Next by Date: | SFTP listing remote files very slowly, Mohacsi Janos |
| Previous by Thread: | Re: GSSAPI MIC check, Simon Wilkinson |
| Next by Thread: | Is IPv6 support for VxWorks 5.5 (OS) from OpenSSH ???, Vikas Bagora |
| Indexes: | [Date] [Thread] [Top] [All Lists] |