Authen::Krb5::KDB::Utils - utility functions for Kerberos V5 database modules
use Authen::Krb5::KDB::Utils; print strdate($principal->last_success()), "\n"; if (check_length($principal->e_length, $principal->e_data) { carp "principal e_data length field not ok"; }
Generally this functions are only used internally within other KDB modules.
Return localtime-format date in readable format similar to dates used in kadmin.
Function to compare various length fields with their data counterparts. Returns true if the two values don't "match", false if they do "match". "Matching" is defined as follows: If the first value is 0, the second value must be -1, or the first value must be the length of the second.
Dave Steiner, <steiner@bakerst.rutgers.edu>
Copyright (c) 2002 David K. Steiner. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl(1), kerberos(1), Authen::Krb5::KDB, Authen::Krb5::KDB::V3.
To install Authen::Krb5::KDB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Authen::Krb5::KDB
CPAN shell
perl -MCPAN -e shell install Authen::Krb5::KDB
For more information on module installation, please visit the detailed CPAN module installation guide.