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: W2K SSO authentication against MIT Kerberos (1.3.2) problem Date: Wed, 10 Mar 2004 13:26:42 +0100 (CET) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200403101226.i2ACQgH01976@she.physik.fu-berlin.de> 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 1078921687 4821 80.91.224.253 (10 Mar 2004 12:28:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Mar 2004 12:28:07 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Mar 10 13:27:59 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 1B12oY-0008QQ-00 for ; Wed, 10 Mar 2004 13:27:58 +0100 Original-Received: (qmail 3874 invoked by uid 5); 10 Mar 2004 12:27:50 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3859 invoked by uid 49493); 10 Mar 2004 12:27:50 -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(0/0):. Processed in 42.573487 secs); 10 Mar 2004 12:27:50 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 10 Mar 2004 12:27:07 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUD00B301945E@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 10 Mar 2004 07:27:07 -0500 (EST) Original-Received: from up.physik.fu-berlin.de (up.physik.fu-berlin.de [160.45.34.5]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HUD009HH18N3N@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 10 Mar 2004 07:26:48 -0500 (EST) Original-Received: from she.physik.fu-berlin.de (she.physik.fu-berlin.de [160.45.33.151]) by up.physik.fu-berlin.de (8.11.1/8.9.1) with ESMTP id i2ACQhj691985 for ; Wed, 10 Mar 2004 13:26:43 +0100 (CET) Original-Received: (from klaus@localhost) by she.physik.fu-berlin.de (8.11.1/8.9.1) id i2ACQgH01976 for tru64-unix-managers@ornl.gov; Wed, 10 Mar 2004 13:26:42 +0100 (CET) Original-To: tru64-unix-managers@ornl.gov (tru64 list) X-Mailer: ELM [version 2.4ME+ PL40 (25)] X-Envelope-From: klaus@she.physik.fu-berlin.de X-ZEDV-BeenThere: nukleon Xref: main.gmane.org gmane.os.tru64.managers:6594 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6594 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@PHYSIK.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! -- Wolfram Klaus (Wolfram.Klaus@physik.fu-berlin.de) Free University Berlin Physics Department