kadm5 Library
| From: | Tim Gustafson | Date: | Thu, 29 Jan 2009 23:02:48 +0000 |
| Subject: | kadm5 Library | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287383@lists.php.net to get a copy of this message | ||
Hi,
I'm running PHP on a CentOS 5.2 box and I'd like to get the kadm5 library to work. The
documentation says that the package is both included by default and also available as a PECL module.
The functions are not available in my base install (I'm using the PHP package from the CentOS
repository). When I do a phpinfo() I do see that "--with-kerberos" was specified at
compile time, but "--with-kadm5" was not, so I'm not sure if that was a typo on the
part of the person who did the compilation or if there is something else that
"--with-kerberos" does.
Anyhow, I can't seem to get the PECL version to compile. I have the "krb5-devel" Yum
package installed, but it always breaks with an error message that says:
checking for kadm5 files in default path... not found
configure: error: Please reinstall the kadm5 distribution
ERROR: `/tmp/tmp7fT8eC/kadm5-0.2.3/configure' failed
It appears to be looking for "krb5/admin.h" which doesn't exist on CentOS even with
the "krb5-devel". Instead, CentOS seems to have a "krb5/krb5.h" which does
contain some valid Kerberos headers, but when I modify the PECL library to use that file instead of
"admin.h", I do get a bit further but then get two or three screens full of "error:
'KRB5_KDB_DISALLOW_TGT_BASED' undeclared" type errors.
So, I guess my question is has anyone had any luck getting this library to compile and function on
CentOS 5.2? Can anyone point me in the right direction as far as getting this library to work?
Thanks for your help!
Tim Gustafson
BSOE Webmaster
UC Santa Cruz
tjg@soe.ucsc.edu
831-459-5354