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



PHP : Function Reference : KADM5 : kadm5_chpass_principal

kadm5_chpass_principal

Changes the principal's password (PECL kadm5:0.2.3)
bool kadm5_chpass_principal ( resource handle, string principal, string password )

Example 1101. Example of changing principal's password

<?php

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

kadm5_chpass_principal($handle, "burbach@GONICUS.LOCAL", "newpassword");

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