File:  [LON-CAPA] / doc / krb_note.txt
Revision 1.4: download - view: text, annotated - select for diffs
Sun Jul 28 04:31:48 2002 UTC (22 years, 4 months ago) by harris41
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_X, version_2_4_99_0, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, version_1_0_3, version_1_0_2, version_1_0_1, version_1_0_0, version_0_99_5, version_0_99_4, version_0_99_3, version_0_99_2, version_0_99_1, version_0_99_0, version_0_6_2, version_0_6, version_0_5_1, version_0_5, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, conference_2003, bz6209-base, bz6209, HEAD, GCI_3, GCI_2, GCI_1, BZ4492-merge, BZ4492-feature_horizontal_radioresponse, BZ4492-feature_Support_horizontal_radioresponse, BZ4492-Support_horizontal_radioresponse
missing space character

-------------------------------------------------------
"Kerberos and LON-CAPA, The Way it Should Be Done"
  contributed by Scott, sharrison@users.sourceforge.net
  loncapa/doc/krb_note.txt
-------------------------------------------------------

This document should be read by those with experience
administering RedHat Linux systems.

NOTE: Most people will just use the LON-CAPA-krb4
rpm (available from http://install.lon-capa.org/).
You probably only would want to look at this document
if you NEED kerberos (it is not necessary for many
institutions) AND if you are installing on a NON-REDHAT
operating system.

Software dependencies:

* You will likely need 'devel' rpms

  RedHat 7.* note:
  Need several devel rpms to compile kerberos...
    db3-devel
    db2-devel
    libtermcap-devel

Here are the steps:

* Get the perl kerberos module from CPAN (http://www.cpan.org/)
  The module version I got was
  Krb4-1.1

* Get athena-kerberos-version-4
  The tarball looks like this:
  krb4-0.10.1.tar
  IT IS IMPORTANT THAT THIS IS THE SWEDISH VERSION, NOT THE MIT
  VERSION.
  NOTE THAT KERBEROS VERSION 4 IS A VERY DIFFERENT THING
  THAN KERBEROS VERSION 5.  (Although newer versions of
  Kerberos version 5 claim to be backwards compatible with
  Kerberos version 4...we have not tested this yet.)
  
  On the world-wide web, an example URL to get this is
  http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/
  Suffice it to say the tarball will likely be maintained/retained
  for sometime in the sunsite-->metalab-->ibiblio repository system

  There are several more recent releases since Sept 1999, perhaps
  we should try to use them in the future.

* Install athena-kerberos-version-4 by
  altering configure.in to read
[root@kirk krb4-0.10.1]# diff configure.in configure.in~
27c27
< AC_PREFIX_DEFAULT(/usr/local/krb4)
---
> AC_PREFIX_DEFAULT(/usr/athena)
     
  In other words, /usr/local/krb4 is what you want on this line!!!!

* Generate new configure file by typing this command:
 
   autoconf configure.in > configure

* Then, of course:
   ./configure
* Then compile:
  make
* Then install:
  make install

* The perl module will now install correctly
  (otherwise it would have been severely upset
   due to kerberos being in /usr/athena as opposed to /usr/local/krb4).

* Perl module installation is as usual:
  perl Makefile.PL; make; make test; make install

* Go get a cup of coffee so you don't see all the weird warning
  messages that flash at you.

* It really works.



FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>