[4575] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Help needed to start Kerberos V5 B4

daemon@ATHENA.MIT.EDU (Brian Topping)
Tue Feb 7 17:58:47 1995

Date: Tue, 7 Feb 1995 14:46:44 -0800
To: BING@ctrvax.Vanderbilt.Edu ()
From: topping@org.org (Brian Topping)
Cc: kerberos@MIT.EDU

>I did successfully compile the V5 Beta 4 under SunOS 4.1.3
>except the rlogin and rlogind application which I skipped.

The trick here is that there seem to be some include files missing from the
headers.  I made the following modifications to get rlogin and rlogind to
compile on 4.1.3:

   for krlogin.c: search for first two lines, add last three lines
        >/* formerly __svr4__ but that's not defined by suncc */
        >#if defined(HAVE_SYS_TTY_H) && defined(HAVE_SYS_TTOLD_H)
        >>#ifndef BRIANFIX
        >>#include <sys/stream.h>
        >>#endif
   for krlogind.c: search for first line, add last three lines
        >#ifdef HAVE_SYS_TTY_H
        >>#ifndef BRIANFIX
        >>#include <sys/stream.h>
        >>#endif

In both of these examples, BRIANFIX is undefined, so <sys/stream.h> gets
included.  (If I brain damaged the config and don't have to do this, I
would welcome that information also.)

>        Could anyone please give me some advice and info on how to
>set up those configuration issues. Your help would be greatly
>appreciated.

I don't have my files set up completely yet either, but I have gotten this far:

        >carnal% cd /krb5
        >carnal% ls -lt
        >total 14
        >-rw-------  1 root         2048 Jan 27 14:29 principal.pag
        >-rw-------  1 root         4096 Jan 27 14:26 principal.dir
        >-rw-r--r--  1 root           17 Jan 27 14:16 krb.realms
        >-rw-------  1 root            0 Jan 24 23:03 principal.ok
        >-rw-r--r--  1 root          535 Jan 24 22:59 krb.conf
        >drwxr-xr-x  5 root          512 Jan 24 22:47 man
        >drwxr-xr-x  2 root          512 Jan 24 22:15 bin
        >drwxr-xr-x  2 root          512 Jan 24 22:15 sbin
        >drwxr-xr-x  2 root          512 Jan 24 22:14 admin
        >drwxr-xr-x  2 root          512 Jan 24 22:14 lib
        >drwxr-xr-x  5 root          512 Jan 24 22:14 include
        >carnal% more krb.conf
        >ORG.ORG
        >ORG.ORG kerberos.org.org admin server
        >ATHENA.MIT.EDU kerberos.mit.edu admin server
        >ATHENA.MIT.EDU kerberos-1.mit.edu
        >ATHENA.MIT.EDU kerberos-2.mit.edu
        >ATHENA.MIT.EDU kerberos-3.mit.edu
        >LCS.MIT.EDU kerberos.lcs.mit.edu admin server
        >IFS.UMICH.EDU kerberos.ifs.umich.edu
        >CS.WASHINGTON.EDU hawk.cs.washington.edu
        >CS.WASHINGTON.EDU aspen.cs.washington.edu
        >CS.BERKELEY.EDU okeeffe.berkeley.edu
        >MEDIA.MIT.EDU kerberos.media.mit.edu
        >NEAR.NET kerberos.near.net
        >CATS.UCSC.EDU mehitabel.ucsc.edu admin server
        >CATS.UCSC.EDU ucsch.ucsc.edu
        >carnal% more krb.realms
        >.ORG.ORG ORG.ORG

The note that you have to set up the principals file, and you have to do
this with admin/kdb5_create and then admin/kdb5_edit.  I would also suggest
running admin/kdb5_stash, to save off the root password.  I don't have any
idea what the correct use of stash is, it just seems to make things
happier.

This is _all_ I have been able to figure out.  What I still need to find
from other users is

*       what entries need to be made to /etc/services
*       what daemons need to be started in order to start everything up
*       how to test that I have a fully functioning server

Any and all information on these three would be most appreciated, and
probably appreciated by others in the group also!

-B



home help back first fref pref prev next nref lref last post