[36] in Moira

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

[haynes@UCSCC.UCSC.EDU: scruffy notes]

daemon@ATHENA.MIT.EDU (Mark Rosenstein)
Tue Feb 13 21:32:23 1990

Date: Tue, 13 Feb 90 21:31:56 -0500
From: Mark Rosenstein <mar@MIT.EDU>
To: bug-moira@MIT.EDU
Jim finally get everything working, including registering new users.
Here's the summary of his problems:

Date: Tue, 13 Feb 90 16:49:40 -0800
From: haynes@UCSCC.UCSC.EDU (99700000)
To: mar@ATHENA.MIT.EDU
Subject: scruffy notes


clients/moira/Doc has internal.mss   For distribution this should be
    screibed to PostScript for those of us who don't have scribe.
    (Thanks to a guest account at MIT I was able to scribe it.)

clients/moira/defs.h    has SMS_SERVER to be defined

clients/moira/Makefile  need to install -c the text files, or they
    disappear from the directory

clients/userreg   'make install' doesn't do anything; have to do
    'make install_real' to install

db/newmoira.qc  lines 211, 238 needs 'members' changed to 'imembers'

db/README  says 'newsms' should be 'newmoira'   Also gives a ritual of
    creating 'testsms' and renaming it to 'newsms' but in fact the newmoira
    program expects 'sms'

db  you already noted the need to have 'none' entries in filesys and nfsphys
    tables

dbck  make clean doesn't remove members.c, make install doesn't do anything
    with the members program.

dcm/utils.c  I added #ifdef ZEPHYR around zephyr.h to allow building when
    zephyr isn't there yet.

gen/nfs.sh  user has to define local domains for hosts in place of
    MIT.EDU.  Makefile needs to install the shells with -c or they
    disappear

include/admin_server.h and kadm.h are slightly different from those
    distributed with kerberos.  Both need some local machine names
    for KERB_HOST and KADM_SINST

include/sms_app.h needs name os SMS_SERVER host fixed for local site

incremental/ksrvtgt.c differs slightly from the one that comes with
    kerberos.

reg_svr/reg_svr.c call on krb_get_svc_in_tkt("regoster", "sms", ...
    Does the "sms" need to be changed to the name of the reg_svr
    host, or is this instance arbitrary so long as it agress with the
    acmin acl's on the kerberos machine?

rpc/critical.c has a define that needs to be changed if zephyr is
    not present.  This is commented on the spot, but needs to be
    pointed out in the instructions. (Or come up with an #ifdef ZEPHYR
    and define ZEPHYR in the Makefile

rpc/sms_auth.c has krb_mk_req("sms", "sms",...)   I presume the second
    "sms" needs to be changed to the name of the host where smsd runs?

test/  Should the scripts be installed somewhere?

------
I ran into various difficulties compiling where there would be symlinks
to something non-existent.  After a make install there will be things
missing that prevent a subsequent make from succeeding.  I don't
know if the answer is to use more install -c  (risks having the
libraries and include files drifting apart from those in /usr/include
and /usr/athena/lib).  Maybe should just leave the libraries in the
moira tree and not install them at all, if they aren't going to be
used for anything else.  Anyway, if you do a make clean and then a
make world or make various things will probably fail and require fixes
to make files, or putting in symlinks.

As Henry noted at Bond U., the hardest thing for us novices is getting
the data base built the first time.  The define.PS document is
helpful; examples would be more helpful.  What would probably get me
out of the woods fast would be for you to take a mrbackup of your
data base and then do a head on each file; that would be cryptic
but usable.

I haven't worked on regtape recently.  Earlier I wrote a program to
turn our registrar's format into yours, planning to do that rather
than to modify the regtape program.

I haven't begun to look at all the places where "MIT" is used as the
institution name in user-visible places; that's certainly not something
anybody should expect you to change.

I may get to do it all over again next week on a Sun machine; if so,
I'll keep better notes next time.

Thanks for all your help.

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