Annotation of doc/krb_note.txt, revision 1.3
1.3 ! harris41 1: -------------------------------------------------------
1.1 harris41 2: "Kerberos and LON-CAPA, The Way it Should Be Done"
1.3 ! harris41 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
1.1 harris41 26:
1.3 ! harris41 27: Here are the steps:
1.1 harris41 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
1.3 ! harris41 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.)
1.1 harris41 42:
1.3 ! harris41 43: On the world-wide web, an example URL to get this is
1.1 harris41 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
1.3 ! harris41 47:
! 48: There are several more recent releases since Sept 1999, perhaps
! 49: we should try to use them in the future.
1.1 harris41 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:
1.3 ! harris41 59: In other words, /usr/local/krb4 is what you want on this line!!!!
1.1 harris41 60:
1.3 ! harris41 61: * Generate new configure file by typing this command:
1.1 harris41 62:
63: autoconf configure.in > configure
64:
1.3 ! harris41 65: * Then, of course:
1.1 harris41 66: ./configure
1.3 ! harris41 67: * Then compile:
1.1 harris41 68: make
1.3 ! harris41 69: * Then install:
1.1 harris41 70: make install
71:
1.3 ! harris41 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).
1.1 harris41 75:
1.3 ! harris41 76: * Perl module installation is as usual:
1.1 harris41 77: perl Makefile.PL; make; make test; make install
78:
1.3 ! harris41 79: * Go get a cup of coffee so you don't see all the weird warning
! 80: messages that flash at you.
1.1 harris41 81:
1.3 ! harris41 82: * It really works.
1.1 harris41 83:
84:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>