Wallet::Kadmin::AD3pm
Wallet kerberos administration api for active directory
Usage
my $kadmin = Wallet::Kadmin::AD->new;$kadmin->create ('host/foo.example.com');my $data = $kadmin->keytab_rekey ('host/foo.example.com');$data = $kadmin->keytab ('host/foo.example.com');my $exists = $kadmin->exists ('host/oldshell.example.com');$kadmin->destroy ('host/oldshell.example.com') if $exists;
Overview
Wallet::Kadmin::AD implements the Wallet::Kadmin API for Active Directory Kerberos, providing an interface to create and delete principals and create keytabs. It provides the API documented in Wallet::Kadmin for an Active Directory Kerberos KDC.
AD Kerberos does not provide any method via msktutil to retrieve a keytab for a principal without rekeying it, so the keytab() method (as opposed to keytab_rekey(), which rekeys the principal) is implemented using a local keytab cache.
To use this class, several configuration parameters must be set. See "KEYTAB OBJECT CONFIGURATION" in Wallet::Config for details.
Limitations
Currently, this implementation calls an external msktutil program rather than using a native Perl module and therefore requires msktutil be installed and parses its output.