Adding a kerberos principal using PHP?

liunx

Guest
So I decided to go with mod_auth_kerb for kerberos authentication, and now I want to have some way to create principal users using a website, but the only php module (<!-- m --><a class="postlink" href="http://pecl.php.net/package/kadm5">http://pecl.php.net/package/kadm5</a><!-- m -->) is 3 years old and somehow seems incomplete as it only comes with a Makefile.in for build files. Other ways I've seen interactions with kerberos are C files compiled as CGI, but I can't seem to find a simple one for just insertions. So is there any up to date way to interact with the kerberos database?Perhaps there is a command line utility you can use to add users to kerberos?

Alternatively, have an application periodically read users' details from a text file or database and apply those changes into kerberos.

It's not necessary to have a PHP extension to do something if you can connect to an external program to do it.

MarkPerhaps there is a command line utility you can use to add users to kerberos?

Alternatively, have an application periodically read users' details from a text file or database and apply those changes into kerberos.

It's not necessary to have a PHP extension to do something if you can connect to an external program to do it.

Mark
Wish that were the case, but that's the way my boss wants it. There is a command line utility and I've used it to add users. A text file might work, but I'd like to avoid having to use that.Well, I found out how to compile php-kadm5, so that works now.
 
Back
Top