Adding a kerberos principal using PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kjordan2001
Forum Newbie
Posts: 3
Joined: Tue Jun 27, 2006 11:24 pm

Adding a kerberos principal using PHP?

Post by kjordan2001 »

I'm looking for some way to add users into a kerberos database using php code, but I've only seen one php module (http://pecl.php.net/package/kadm5) that does that and it's 3 years old and requires PHP4. Surely there is a way to do it with PHP5 and there has been modules written since then?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

kjordan2001
Forum Newbie
Posts: 3
Joined: Tue Jun 27, 2006 11:24 pm

Post by kjordan2001 »

Ambush Commander wrote:http://mailman.mit.edu/pipermail/kerber ... 05398.html

Apache modules I think.
Well, that's for authentication and I'm currently using that. But I'm talking about adding users into the kerberos database using php.
thejoker101
Forum Newbie
Posts: 1
Joined: Wed Jun 28, 2006 11:10 am

Post by thejoker101 »

Hi Kevin.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

So can you connect to Kerberos with PHP or do you need to figure out a connection string?
kjordan2001
Forum Newbie
Posts: 3
Joined: Tue Jun 27, 2006 11:24 pm

Post by kjordan2001 »

Everah wrote:So can you connect to Kerberos with PHP or do you need to figure out a connection string?
Well, I figured out how to compiled php-kadm5, so now I can add users using a website with php functions.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

thejoker101 wrote:Hi Kevin.
?? :?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

The Ninja Space Goat wrote:
thejoker101 wrote:Hi Kevin.
?? :?
You know, Kevin? :roll: Sheesh, everyone knows Kevin.

Not really. I am just being a smart donkey.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

It's an inside joke. None of us are supposed to get it. ;-)
hellokuti
Forum Newbie
Posts: 1
Joined: Sun Sep 27, 2009 9:40 am

Re: Adding a kerberos principal using PHP?

Post by hellokuti »

I have the same problem with PHP5. Any help? :(
Post Reply