Authen-Krb5-Admin

 view release on metacpan or  search on metacpan

Admin.pm  view on Meta::CPAN

=item Constructors

Each of the following constructors authenticates as $client to the
admin server $service, which defaults to KADM5_ADMIN_SERVICE if undef.
An undefined value for $kadm5_config will cause the interface to infer
the configuration from the Kerberos 5 profile (F</etc/krb5.conf> by
default).

=item * $kadm5 =  Authen::Krb5::Admin->init_with_creds($client, $krb5_ccache[, $service, $kadm5_config])

Authenticate using the credentials cached in $krb5_ccache.

=item * $kadm5 = Authen::Krb5::Admin->init_with_password($client[, $password, $service, $kadm5_config])

Authenticate with $password.

=item * $kadm5 = Authen::Krb5::Admin->init_with_skey($client[, $keytab_file, $service, $kadm5_config])

Authenticate using the keytab stored in $keytab_file.  If $keytab_file
is undef, the default keytab is used.

ChangeLog  view on Meta::CPAN

2006-12-28  Andrew J. Korty  <ajk@iu.edu>

	* Admin.xs, typemap: Use INT2PTR() and friends to make sure void *
	and Perl values are compatible when perl is built with
	-Duse64bitint.

	* Makefile.PL, t/01-config.t, t/10-getprivs.t, t/20-addpol.t,
	t/21-getpol.t, t/22-getpols.t, t/23-modpol.t, t/30-addprinc.t,
	t/31-getprinc.t, t/32-getprincs.t, t/33-modprinc.t, t/34-cpw.t,
	t/35-randkey.t, t/36-rename.t, t/91-delprinc.t, t/92-delpol.t: Let
	us specify a credentials cache with the $PERL_KADM5_TEST_CACHE
	environment variable.

	* t/91-delprinc.t, t/92-delpol.t: Test to see if the
	principal/policy is gone after we delete it.

	* Admin.pm, Admin.xs, admin.h: Attempt to detect MIT Kerberos 5
	Release 1.5 and later, whose kadm5_init_with_* functions take an
	extra argument (char **db_args) and whose kadm5_config_params
	structure doesn't have a profile field.



( run in 0.419 second using v1.01-cache-2.11-cpan-4d50c553e7e )