![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
LX. KADM5IntroductionThese 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. Predefined ConstantsThe constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. 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: Table 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: Table 2. Options for creating/modifying/retrieving principals
ExamplesThis 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.
Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|