< Wallet::Kadmin::AD API | Russ Allbery > Software > wallet | Wallet::Kadmin::MIT API > |
(Wallet Kerberos administration API for Heimdal)
my $kadmin = Wallet::Kadmin::Heimdal->new; $kadmin->create ('host/foo.example.com'); $kadmin->keytab_rekey ('host/foo.example.com', 'keytab', 'aes256-cts-hmac-sha1-96'); my $data = $kadmin->keytab ('host/foo.example.com'); my $exists = $kadmin->exists ('host/oldshell.example.com'); $kadmin->destroy ('host/oldshell.example.com') if $exists;
Wallet::Kadmin::Heimdal implements the Wallet::Kadmin API for Heimdal, providing an interface to create and delete principals and create keytabs. It provides the API documented in Wallet::Kadmin for a Heimdal KDC.
To use this class, several configuration parameters must be set. See "KEYTAB OBJECT CONFIGURATION" in Wallet::Config for details.
The keytab is created in this file and then read into memory. KEYTAB_TMP is set in the wallet configuration, and <pid> is the process ID of the current process. The file is unlinked after being read.
kadmin(8), Wallet::Config(3), Wallet::Kadmin(3), Wallet::Object::Keytab(3), wallet-backend(8)
This module is part of the wallet system. The current version is available from <https://www.eyrie.org/~eagle/software/wallet/>.
Russ Allbery <eagle@eyrie.org> and Jon Robertson <jonrober@stanford.edu>.
< Wallet::Kadmin::AD API | Russ Allbery > Software > wallet | Wallet::Kadmin::MIT API > |