From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Wolfram Klaus Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: W2K SSO authentication against MIT Kerberos (1.3.2) problem Date: Thu, 11 Mar 2004 10:52:46 +0100 (CET) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1078998808 29131 80.91.224.253 (11 Mar 2004 09:53:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 09:53:28 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Mar 11 10:53:16 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1B1MsN-0005ok-00 for ; Thu, 11 Mar 2004 10:53:15 +0100 Original-Received: (qmail 26988 invoked by uid 5); 11 Mar 2004 09:53:02 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 26973 invoked by uid 49493); 11 Mar 2004 09:53:01 -0000 Original-Received: from klaus@physik.fu-berlin.de by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-4.7/5.0):. Processed in 2.827673 secs); 11 Mar 2004 09:53:01 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 11 Mar 2004 09:52:58 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUE00FRLOS8A5@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 11 Mar 2004 04:52:57 -0500 (EST) Original-Received: from up.physik.fu-berlin.de (up.physik.fu-berlin.de [160.45.34.5]) by emroute3.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUE00K91OS4RH@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 11 Mar 2004 04:52:53 -0500 (EST) Original-Received: from edvpc5.physik.fu-berlin.de (edvpc5.physik.fu-berlin.de [160.45.32.226]) by up.physik.fu-berlin.de (8.11.1/8.9.1) with ESMTP id i2B9qkj958498 for ; Thu, 11 Mar 2004 10:52:46 +0100 (CET) Original-Received: from klaus by edvpc5.physik.fu-berlin.de with local (Exim 3.35 #1 (Debian)) id 1B1Mru-0000ea-00 for ; Thu, 11 Mar 2004 10:52:46 +0100 Original-To: tru64 list X-Mailer: ELM [version 2.4ME+ PL100 (25)] X-Envelope-From: klaus@physik.fu-berlin.de X-ZEDV-BeenThere: nukleon Xref: main.gmane.org gmane.os.tru64.managers:6600 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6600 Thanks to Dave Love, Paul Moore, Graham Allen and Rudolf Gabler (in the order their messages arrived)! The consensus is you cannot use the W2KSSO SIA module for authentication against a normal KDC (Paul Moore from HP wrote: "The SSO software for Tru64 is only supported when used with the Windows 2000 server acting as the KDC. What you are trying will not work."). Fortunately there is an alternative KRB5 SIA module available at http://www.cit.uws.edu.au/~luke/software/sia_kerberosv5/ that works for us. Thanks dave and Graham for pointing me in that direction. Dave warned me that "some Tru64 update broke things using it in combination with LDAP". We will be using LDAP later so we may run into problems then. So I might be back on the list soon ;) Thanks again, this list is great! Wolfram -----Original Message----- Dear list, We are currrently in the process of setting up a centralized authentication server for Linux, W2k, and Tru64. The central AS is a MIT KDC on a Linux machine. Authentication from Linux and W2k (cross realm trust with ADS) works fine, but so far I cannot get the Tru64 Boxes to authenticate against the KDC. Tru64 System: 5.1B + PK3 (=5.1B-1?) W2KSSO installed w2ksetup fails when invoking "creacct -h `hostname` -u". So I tried a simple kinit: Password for klaus@PHYSIK.FU-BERLIN.DE: kinit KDC reply did not match expectations >From a tcpdump I could see, that the Tru64 kinit uses Pre_authentication. The Pre_authentication seems to succeed on the KDC. Here is the relevant part of the KDC's log file: Mar 10 13:10:38 z63 krb5kdc[14024](info): AS_REQ (1 etypes {5}) 160.45.33.151: BAD_ENCRYPTION_TYPE: klaus@PHYSIK.FU-BERLIN.DE for krbtgt/PHYSIK.FU-BERLIN.DE@PHYSIK.FU-BERLIN.DE, KDC has no support for encryption type Mar 10 13:10:38 z63 krb5kdc[14024](info): AS_REQ (1 etypes {3}) 160.45.33.151: BAD_ENCRYPTION_TYPE: klaus@PHYSIK.FU-BERLIN.DE for krbtgt/PHYSIK.FU-BERLIN.DE@PYSIK.FU-BERLIN.DE, KDC has no support for encryption type Mar 10 13:10:38 z63 krb5kdc[14024](info): AS_REQ (1 etypes {1}) 160.45.33.151: ISSUE: authtime 1078920638, etypes {rep=1 tkt=16 ses=1}, klaus@PHYSIK.FU-BERLIN.DE for krbtgt/PHYSIK.FU-BERLIN.DE@PHYSIK.FU-BERLIN.DE OK, our KDC currenly has only etypes 1 and 16 for principals, but this shouldn't be a problem. What exactly is it, that Tru64's kinit is expecting from the kdc and not getting? If it helps here is the principal klaus@PHYSIK.FU-BERLIN.DE kadmin: getprinc klaus Principal: klaus@PHYSIK.FU-BERLIN.DE Expiration date: [never] Last password change: Thu Mar 04 12:09:23 CET 2004 Password expiration date: [none] Maximum ticket life: 1 day 00:00:00 Maximum renewable life: 0 days 00:00:00 Last modified: Thu Mar 04 12:09:23 CET 2004 (kadmind@PHYSIK.FU-BERLIN.DE) Last successful authentication: [never] Last failed authentication: [never] Failed password attempts: 0 Number of keys: 2 Key: vno 2, Triple DES cbc mode with HMAC/sha1, no salt Key: vno 2, DES cbc mode with CRC-32, no salt Attributes: Policy: [none] And yes, I put the KDC's hostname and IP in /etc/hosts just to make sure this is not the problem. Is this really needed? TIA for any ideas!