Authen::Krb5::KDB::V3 - objects for Kerberos V5 database V3 principals


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

Index


NAME

Top

Authen::Krb5::KDB::V3 - objects for Kerberos V5 database V3 principals

SYNOPSIS

Top

Generally you won't load this library or call it's new methods directly. See Authen::Krb5::KDB for more information.

    use Authen::Krb5::KDB::V3;

    $p = Authen::Krb5::KDB::V3->new( data => "..." );

    if ($p->type eq 'princ') {
	print $p->name, ": ", $p->fail_auth_count"\n";
    }




DESCRIPTION

Top

new( data => "..." )

Parses version 3 principal entries and returns the data via an object. Calls new_princ to do the work.

Arguments are:

data => <string>

Data to be parsed. This argument is required.

checks => <level>

Data checking level. Level 0 means no checks; level 1 (the default) does basic checks like checking that the lengths in the records are correct; level 2 does much further consistency checks on the data.

lineno => <N>

Line number of the data file where this data came from (for error messages).

Principals

new_princ( data => "..." )

Parses version 3 principal entries and returns the data via an object.

Arguments are:

data => <string>

Data to be parsed. This argument is required.

checks => <level>

Data checking level. Level 0 means no checks; level 1 (the default) does basic checks like checking that the lengths in the records are correct; level 2 does much further consistency checks on the data.

lineno => <N>

Line number of the data file where this data came from (for error messages).

Methods to retrieve and set data fields are:

type (read only)
len (read only)
name_len (read only)
n_tl_data (read only)
n_key_data (read only)
e_length (read only)
name
attributes
max_life
max_renew_life
expiration
pw_expiration
last_success
last_success_dt (read only)
last_failed
last_failed_dt (read only)
fail_auth_count
tl_data

See the Authen::Krb5::KDB::TL for methods to deal with TL objects.

key_data

See the Authen::Krb5::KDB::Key for methods to deal with Key objects.

e_data

Other methods include:

Print out the data on a principal, similar to the get_principal command in kadmin, but more verbose.

get_attributes

Return a string of all the attributes set for this principal.

AUTHOR

Top

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

COPYRIGHT

Top

SEE ALSO

Top

perl(1), kerberos(1), Authen::Krb5::KDB, Authen::Krb5::KDB_H, Authen::Krb5::KDB::TL, Authen::Krb5::KDB::Key.


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