File:  [LON-CAPA] / doc / krb_note.txt
Revision 1.3: download - view: text, annotated - select for diffs
Sun Jul 28 04:29:51 2002 UTC (21 years, 10 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
general improvements

-------------------------------------------------------
"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>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.