Authen::Krb5::KDB::Utils - utility functions for Kerberos V5 database modules


Authen-Krb5-KDB documentation  | view source Contained in the Authen-Krb5-KDB distribution.

Index


NAME

Top

Authen::Krb5::KDB::Utils - utility functions for Kerberos V5 database modules

SYNOPSIS

Top

    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";
    }




DESCRIPTION

Top

Generally this functions are only used internally within other KDB modules.

strdate( DATE )

Return localtime-format date in readable format similar to dates used in kadmin.

check_length( LENGTH, DATA )

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.

AUTHOR

Top

Dave Steiner, <steiner@bakerst.rutgers.edu>

COPYRIGHT

Top

SEE ALSO

Top

perl(1), kerberos(1), Authen::Krb5::KDB, Authen::Krb5::KDB::V3.


Authen-Krb5-KDB documentation  | view source Contained in the Authen-Krb5-KDB distribution.