Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : KADM5 : kadm5_get_principal

kadm5_get_principal

Gets the principal's entries from the Kerberos database (PECL kadm5:0.2.3)
array kadm5_get_principal ( resource handle, string principal )

Example 1105. kadm5_get_principal() example

<?php
$handle
= kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password");

print
"<h1>get_principal burbach@GONICUS.LOCAL</h1>\n";

$options = kadm5_get_principal($handle, "burbach@GONICUS.LOCAL" );

foreach (
$options as $key => $value) {
   echo
"$key: $value<br />\n";
}

kadm5_destroy($handle);
?>

Change Language


Follow Navioo On Twitter
kadm5_chpass_principal
kadm5_create_principal
kadm5_delete_principal
kadm5_destroy
kadm5_flush
kadm5_get_policies
kadm5_get_principal
kadm5_get_principals
kadm5_init_with_password
kadm5_modify_principal
eXTReMe Tracker