From owner-freebsd-net Thu Aug 1 13: 9:37 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7891237B400 for ; Thu, 1 Aug 2002 13:09:33 -0700 (PDT) Received: from energyhq.homeip.net (213-97-200-73.uc.nombres.ttd.es [213.97.200.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CED743E72 for ; Thu, 1 Aug 2002 13:09:32 -0700 (PDT) (envelope-from flynn@energyhq.homeip.net) Received: from kajsa.energyhq.tk (kajsa.energyhq.tk [192.168.0.1]) by energyhq.homeip.net (Postfix) with SMTP id 7D944AF581 for ; Thu, 1 Aug 2002 21:43:44 +0200 (CEST) Date: Thu, 1 Aug 2002 21:43:38 +0200 From: Miguel Mendez To: freebsd-net@freebsd.org Subject: Problem with kerberos5 Message-Id: <20020801214338.2ed3376b.flynn@energyhq.homeip.net> X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.miYcEnRPI4CjLg" Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=.miYcEnRPI4CjLg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, I've configured my NetBSD server to act as KDC, and connections between that one and my other NetBSD box work perfectly well. I've just finished building world on my FreeBSD box (as I was missing the krb5 package I thought I'd just rebuild all), and to my surprise this is what I get. From NetBSD to FreeBSD ---------------------- energyhq: {108} telnet kajsa Trying 192.168.0.1... Connected to kajsa.energyhq.tk. Escape character is '^]'. [ Trying KERBEROS5 ... ] [ Kerberos V5 refuses authentication because Read req failed: ASN.1 badly-formatted encoding ] [ Trying KERBEROS5 ... ] [ Kerberos V5 refuses authentication because Read req failed: ASN.1 badly-formatted encoding ] FreeBSD/i386 (kajsa.energyhq.tk) (ttyp5) From FreeBSD to NetBSD ---------------------- flynn@kajsa# telnet lillemor Trying 192.168.0.4... Connected to lillemor.energyhq.tk. Escape character is '^]'. [ Trying mutual KERBEROS5 (host/lillemor.energyhq.tk@ENERGYHQ.TK)... ] Bus error (core dumped) From FreeBSD to itself ---------------------- flynn@kajsa# telnet kajsa Trying 192.168.0.1... Connected to kajsa.energyhq.tk. Escape character is '^]'. [ Trying mutual KERBEROS5 (host/kajsa.energyhq.tk@ENERGYHQ.TK)... ] Bus error (core dumped) uname -a from that box ---------------------- flynn@kajsa# uname -a FreeBSD kajsa.energyhq.tk 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 20:54:57 CEST 2002 root@kajsa.energyhq.tk:/usr/obj/usr/src/sys/KAJSA i386 Source tree CVSUp'd earlier today. The realm is properly set up, the SVR and TXT entries are in my DNS. The krb5.conf is in my /etc dir, and so is the krb5.keytab with the extracted key. Any clue what's going on? Cheers, -- Miguel Mendez - flynn@energyhq.homeip.net GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt EnergyHQ :: http://www.energyhq.tk Of course it runs NetBSD! --=.miYcEnRPI4CjLg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9SY9unLctrNyFFPERAvVwAKCt9Baq9FJ6WbWyMV+vxcU09wqhywCbBbUL gLUYSChlfK6x415fbbaMPlw= =3xKq -----END PGP SIGNATURE----- --=.miYcEnRPI4CjLg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message