1: -------------------------------------------------------
2: "Kerberos and LON-CAPA, The Way it Should Be Done"
3: contributed by Scott, sharrison@users.sourceforge.net
4: loncapa/doc/krb_note.txt
5: -------------------------------------------------------
6:
7: This document should be read by those with experience
8: administering RedHat Linux systems.
9:
10: NOTE: Most people will just use the LON-CAPA-krb4
11: rpm (available from http://install.lon-capa.org/).
12: You probably only would want to look at this document
13: if you NEED kerberos (it is not necessary for many
14: institutions)AND if you are installing on a NON-REDHAT
15: operating system.
16:
17: Software dependencies:
18:
19: * You will likely need 'devel' rpms
20:
21: RedHat 7.* note:
22: Need several devel rpms to compile kerberos...
23: db3-devel
24: db2-devel
25: libtermcap-devel
26:
27: Here are the steps:
28:
29: * Get the perl kerberos module from CPAN (http://www.cpan.org/)
30: The module version I got was
31: Krb4-1.1
32:
33: * Get athena-kerberos-version-4
34: The tarball looks like this:
35: krb4-0.10.1.tar
36: IT IS IMPORTANT THAT THIS IS THE SWEDISH VERSION, NOT THE MIT
37: VERSION.
38: NOTE THAT KERBEROS VERSION 4 IS A VERY DIFFERENT THING
39: THAN KERBEROS VERSION 5. (Although newer versions of
40: Kerberos version 5 claim to be backwards compatible with
41: Kerberos version 4...we have not tested this yet.)
42:
43: On the world-wide web, an example URL to get this is
44: http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/
45: Suffice it to say the tarball will likely be maintained/retained
46: for sometime in the sunsite-->metalab-->ibiblio repository system
47:
48: There are several more recent releases since Sept 1999, perhaps
49: we should try to use them in the future.
50:
51: * Install athena-kerberos-version-4 by
52: altering configure.in to read
53: [root@kirk krb4-0.10.1]# diff configure.in configure.in~
54: 27c27
55: < AC_PREFIX_DEFAULT(/usr/local/krb4)
56: ---
57: > AC_PREFIX_DEFAULT(/usr/athena)
58:
59: In other words, /usr/local/krb4 is what you want on this line!!!!
60:
61: * Generate new configure file by typing this command:
62:
63: autoconf configure.in > configure
64:
65: * Then, of course:
66: ./configure
67: * Then compile:
68: make
69: * Then install:
70: make install
71:
72: * The perl module will now install correctly
73: (otherwise it would have been severely upset
74: due to kerberos being in /usr/athena as opposed to /usr/local/krb4).
75:
76: * Perl module installation is as usual:
77: perl Makefile.PL; make; make test; make install
78:
79: * Go get a cup of coffee so you don't see all the weird warning
80: messages that flash at you.
81:
82: * It really works.
83:
84:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>