LXIII. KADM5簡介These package allows you to access Kerberos V administration servers. You can create, modify, and delete Kerberos V principals and policies. More information about Kerberos can be found at http://web.mit.edu/kerberos/www/. Documentation for Kerberos and KADM5 can be found at http://web.mit.edu/kerberos/www/krb5-1.2/krb5-1.2.8/doc/admin_toc.html. 預定義常量以下常量由本增加模組定義,因此只有在本增加模組被編譯到 PHP 中,或是在運行時被動態加載後才有效。 Constants for Attribute FlagsThe functions kadm5_create_principal(), kadm5_modify_principal(), and kadm5_modify_principal() allow to specify special attributes using a bitfield. The symbols are defined below: 表格 1. Attributes for use by the KDC
Constants for OptionsThe functions kadm5_create_principal(), kadm5_modify_principal(), and kadm5_get_principal() allow to specify or return principal's options as an associative array. The keys for the associative array are defined as string constants below: 表格 2. Options for creating/modifying/retrieving principals
範例This simple example shows how to connect, query, print resulting principals and disconnect from a KADM5 database. Contact InformationIf you have comments, bugfixes, enhancements or want to help in developing this you can send me a mail at holger.burbach@gonicus.de. The project homepage can be found at http://oss.gonicus.de/project/?group_id=7.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||