| 1 |
|
| 2 |
Authen::Krb5::Admin is an object-oriented interface to the Kerberos 5 |
| 3 |
admin server. Currently only MIT KDCs are supported, but the author |
| 4 |
envisions seamless integration with other KDCs. |
| 5 |
|
| 6 |
|
| 7 |
PREREQUISITES |
| 8 |
|
| 9 |
Authen::Krb5::Admin requires Perl 5.005 or greater and Jeff Horwitz's |
| 10 |
Authen::Krb5 module from CPAN. |
| 11 |
|
| 12 |
|
| 13 |
INSTALLATION |
| 14 |
|
| 15 |
To install Authen::Krb5::Admin without testing, run the standard |
| 16 |
sequence: |
| 17 |
|
| 18 |
perl Makefile.PL |
| 19 |
make |
| 20 |
make install |
| 21 |
|
| 22 |
The first step will prompt you for a principal with administrative |
| 23 |
privileges on the KDC for running the test suite. Re-run this step to |
| 24 |
change which principal to use. |
| 25 |
|
| 26 |
The build script will attempt to use the krb5-config tool to discover |
| 27 |
the location of your Kerberos installation. This tool is part of the |
| 28 |
krb5-devel package on Redhat and Fedora systems and is in the |
| 29 |
libkrb5-dev package on Debian and Ubuntu systems. If it is not located |
| 30 |
in /usr/local/bin/krb5-config or /usr/bin/krb5-config you can specify |
| 31 |
the location using the KRB5_CONFTOOL environment variable. |
| 32 |
|
| 33 |
If you have a non-standard installation you can override the following |
| 34 |
locations by setting environment variables before running the |
| 35 |
Makefile.PL script. The PREFIX path is found by using the krb5-config |
| 36 |
tool. |
| 37 |
|
| 38 |
* KRB5_BINDIR - PREFIX/bin - Kerberos binaries |
| 39 |
* KRB5_LIBDIR - PREFIX/lib - Kerberos libraries |
| 40 |
* KRB5_INCDIR - PREFIX/include - Kerberos headers |
| 41 |
|
| 42 |
Currently the install scripts do NOT correctly build for x86_64 |
| 43 |
systems where the libraries are installed in /usr/lib64 (e.g. Redhat |
| 44 |
and Fedora). The workaround is to set the KRB5_LIBDIR environment |
| 45 |
variable before running the Makefile.PL script, e.g. |
| 46 |
|
| 47 |
export KRB5_LIBDIR=/usr/lib64 |
| 48 |
|
| 49 |
This will be corrected in a subsequent release. |
| 50 |
|
| 51 |
TESTING |
| 52 |
|
| 53 |
To run the test suite as part of the install, use |
| 54 |
|
| 55 |
perl Makefile.PL |
| 56 |
make test |
| 57 |
make install |
| 58 |
|
| 59 |
This step requires administrative access to the KDC by the principal |
| 60 |
specified in the first step. It will create a principal, by default |
| 61 |
"perl_test", which should NOT already exist on the KDC. If you |
| 62 |
already have a principal called perl_test, change Makefile.PL to use a |
| 63 |
different test principal, and start over. |
| 64 |
|
| 65 |
|
| 66 |
Stephen Quinney <[email protected]> |
| 67 |
University of Edinburgh School of Informatics |
| 68 |
|
| 69 |
Andrew J. Korty <[email protected]> |
| 70 |
Indiana University |