PHP Doku:: Changes the principal s password - function.kadm5-chpass-principal.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ Funktionsreferenz ≥ Authentifizierungsdienste ≥ Kerberos V ≥ KADM5 Funktionen ≥ kadm5_chpass_principal

Ein Service von Reinhard Neidl - Webprogrammierung.

KADM5 Funktionen

<<KADM5 Funktionen

kadm5_create_principal>>

kadm5_chpass_principal

(PECL kadm5 >= 0.2.3)

kadm5_chpass_principal — Changes the principal's password

Beschreibung

bool kadm5_chpass_principal ( resource $handle , string $principal , string $password )

kadm5_chpass_principal() sets the new password password for the principal.

Parameter-Liste

handle

A KADM5 handle.

principal

The principal.

password

The new password.

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.

Beispiele

Beispiel #1 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);
?>


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)