version 1.2, 2001/10/09 19:27:54
|
version 1.4, 2002/07/28 04:31:48
|
Line 1
|
Line 1
|
|
------------------------------------------------------- |
"Kerberos and LON-CAPA, The Way it Should Be Done" |
"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 |
|
|
produced by Penguin Dementia Publications (aka Scott) |
Here are the steps: |
|
|
RedHat 7.1 note: |
|
Need several devel rpms to compile kerberos... |
|
db3-devel |
|
db2-devel |
|
libtermcap-devel |
|
|
|
Ok, this is originally saved as doc/krb_note.txt in the |
|
CVS repository. |
|
|
|
Here is the build process, carved into stone |
|
(we've done this multiple ways in the past, including |
|
a crazily customized perl-kerberos-module Makefile_krb |
|
that is different than what is generated by |
|
"perl Makefile.PL"). |
|
|
|
I'm trying to do this "the right way". So here are the steps: |
|
|
|
* Get the perl kerberos module from CPAN (http://www.cpan.org/) |
* Get the perl kerberos module from CPAN (http://www.cpan.org/) |
The module version I got was |
The module version I got was |
Line 27 I'm trying to do this "the right way".
|
Line 33 I'm trying to do this "the right way".
|
* Get athena-kerberos-version-4 |
* Get athena-kerberos-version-4 |
The tarball looks like this: |
The tarball looks like this: |
krb4-0.10.1.tar |
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 |
On the world-wide web, an example URL to get this is |
http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/ |
http://sunsite.ualberta.ca/pub/Mirror/kth-krb/src/ |
Suffice it to say the tarball will likely be maintained/retained |
Suffice it to say the tarball will likely be maintained/retained |
for sometime in the sunsite-->metalab-->ibiblio repository system |
for sometime in the sunsite-->metalab-->ibiblio repository system |
There are several more recent releases since Sept 1999, but |
|
I'm not trying to change-everything-at-once right now. |
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 |
* Install athena-kerberos-version-4 by |
altering configure.in to read |
altering configure.in to read |
Line 43 On the world-wide web, an example URL to
|
Line 56 On the world-wide web, an example URL to
|
--- |
--- |
> AC_PREFIX_DEFAULT(/usr/athena) |
> AC_PREFIX_DEFAULT(/usr/athena) |
|
|
/usr/local/krb4 is what you want on this line!!!! |
In other words, /usr/local/krb4 is what you want on this line!!!! |
|
|
* generate new configure file by typing this command |
* Generate new configure file by typing this command: |
|
|
autoconf configure.in > configure |
autoconf configure.in > configure |
|
|
* then of course |
* Then, of course: |
./configure |
./configure |
* then |
* Then compile: |
make |
make |
* then |
* Then install: |
make install |
make install |
|
|
The file listing of this will be in doc/otherfiles on the |
* The perl module will now install correctly |
CVS repository (installed binaries). |
(otherwise it would have been severely upset |
|
due to kerberos being in /usr/athena as opposed to /usr/local/krb4). |
* the perl module will now install correctly |
|
(before it hiccupped, coughed, was severely upset |
|
due to kerberos being in /usr/athena as opposed to /usr/local/krb4) |
|
|
|
* perl module installation is as usual |
* Perl module installation is as usual: |
perl Makefile.PL; make; make test; make install |
perl Makefile.PL; make; make test; make install |
|
|
* go get a cup of coffee so you don't see all the weird warning |
* Go get a cup of coffee so you don't see all the weird warning |
messages that flash at you |
messages that flash at you. |
|
|
* it really works |
* It really works. |
|
|
|
|