From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Padiyath Sreekumaran Newsgroups: gmane.os.tru64.managers Subject: SUMMARY 1: AFS, Kerberos 5 and OpenSS Date: Wed, 23 Jun 2004 13:36:06 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1087990610 15481 80.91.224.253 (23 Jun 2004 11:36:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Jun 2004 11:36:50 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Jun 23 13:36:39 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 1Bd63S-0003L1-00 for ; Wed, 23 Jun 2004 13:36:38 +0200 Original-Received: (qmail 17578 invoked by uid 5); 23 Jun 2004 11:36:27 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17563 invoked by uid 49501); 23 Jun 2004 11:36:27 -0000 Original-Received: from Kumar.Padiyath@psi.ch by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 2.603904 secs); 23 Jun 2004 11:36:27 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 23 Jun 2004 11:36:24 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZR0088IEWNPC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Jun 2004 07:36:23 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HZR00H02EWCWZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Jun 2004 07:36:15 -0400 (EDT) Original-Received: from psi11.psi.ch (psi11.psi.ch [129.129.190.111]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with SMTP id <0HZR00879EWB1A@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 23 Jun 2004 07:36:12 -0400 (EDT) Original-Received: from 129.129.190.114 by psi11.psi.ch (InterScan E-Mail VirusWall NT) ; Wed, 23 Jun 2004 13:36:09 +0200 Original-Received: by psi14.psi.ch with Internet Mail Service (5.5.2657.72) id ; Wed, 23 Jun 2004 13:36:07 +0200 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2657.72) Xref: main.gmane.org gmane.os.tru64.managers:7169 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7169 Hello, Thanks for the mails. As Mr.Kai Lanz suggested I installed prngd (http://www.aet.tu-cottbus.de/personen/jaenicke/postfix_tls/prngd.html) SW and installed all the SW(OpenSSL, Kerberos 4, Kerberos 5 and OpenSSH. I tested kinit command from Heimdal Kerberos 5 and it works. But I did not have any success with any success with Heimdal with SIA. With kinit I get the following output: a>/usr/heimdal/bin/kinit gsell gsell@AFSTEST.PSI.CH's Password: >/usr/heimdal/bin/klist Credentials cache: FILE:/tmp/krb5cc_0 Principal: gsell@AFSTEST.PSI.CH Issued Expires Principal Jun 23 11:17:07 Jun 24 12:17:07 krbtgt/AFSTEST.PSI.CH@AFSTEST.PSI.CH Jun 23 11:17:08 Jun 24 12:17:07 afs@AFSTEST.PSI.CH But when I use the following command I get an error: >ssh gsell@psw288.afstest.psi.ch<--------------------------- gsell@psw288.afstest.psi.ch's password: Permission denied, please try again. gsell@psw288.afstest.psi.ch's password: Permission denied, please try again. gsell@psw288.afstest.psi.ch's password: Permission denied (publickey,password,keyboard-interactive). My /etc/sia/matrix.conf contains the following: # sia matrix configuration file (BSD only) siad_setgrent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_endgrent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_getgrent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_getgrnam=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_getgrgid=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_setpwent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_endpwent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_getpwent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_getpwnam=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_getpwuid=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_init=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_chg_finger=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_chg_password=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_chg_shell=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_chk_user=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_init=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_chk_invoker=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_authent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_suauthent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_reauthent=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_estab=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_launch=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) siad_ses_release=(KRB5,/usr/heimdal/lib/libsia_krb5.so) (BSD,libc.so) Can anyone help? Any suggestions? Iam including the answer from Mr.kai Lanz and my question also. With regards, Kumar Kai Lanz answer: ================ Installation notes: Untarred the distribution in /local/src/pub. > cd prngd-0.9.27 Edited Makefile to select the OSF1 template. Did not have to edit config.h. > make prngd This built the prngd executable with no errors. Edited the contrib/OSF1/prngd.conf.osf1 file and added the line for "arp" as given in the Tru64 example config file. Then copied prngd.conf.osf1 into place as /etc/prngd.conf. Copied prngd into /local/sbin; made sure it was executable. To provide an initial random seed (recommended but not necessary), I copied the OpenSSL .rnd file into place: # cp /local/ssl/.rnd /etc/prngd-seed Started the daemon: # /local/sbin/prngd /var/run/egd-pool ps shows the daemon is running; /var/run has the egd-pool socket. ---------------------------------------------------------------------------- My Question was: ================ > Hello, > > Iam trying to install Kerberos 5(with SIA) with AFS and OpenSSH. > At present we use Kerberos 4 with AFS. > The situation is like this: > OS : Tru64 V5.1A > IBM AFS 3.6 client version > OpenSSL version tried : openssl-0.9.7d > Kerberos 4 veriosn : krb4-1.3rc1 > Kerberos 5 version : heimdal-0.6.2 > I did the following: Compiled with cc and installed in (openssl) /usr/local/ssl directory.(env "CC=cc" /Configure) > Kerberos 4 installation: Installed in default directory /usr/Athena (env "CC=cc" ./configure --with-openssl=/usr/local/ssl --with-x) > Heimdal installation : Installed in /usr/local directory (env "CC=cc" ./configure --with- krb4=/usr/athena --with-krb4-lib=/usr/athena/lib --with-krb4-include=/usr/athena/include --with-openssl=/usr/local/ssl --with-openssl-lib=/usr/local/ssl/lib --with-openssl-include=/usr/local/ssl/include --with-x) > When I try to execute /usr/local/bin/kinit command I get the following error and a core dump. > #/usr/heimdal/bin/kinit gsell > gsell@AFSTEST.PSI.CH's Password: > kinit: Fatal: could not seed the random number generator > resources lost(coredump) > I would like to know the following: > 1. Which version of OpenSSL , Kerberos 4 , Kerberos 5(with SIA) and OpenSSH I have to use? > 2. Which Compile I have to use? > 3. Has any one installed these SW on their machines? > I will appreciate very much if any one can give some help. > I have the config.log and make output saved in a file from Heimdal. Thanks in advance, Kumar