Problems using Authen::Krb5::Admin

Darren Boss google at
Wed Sep 22 00:30:04 EDT 2004

use Authen::Krb5::Admin;
my $username = "userid";
my $password = "********";
my $krbConfig = Authen::Krb5::Admin::Config->new();
$service= "kadmin/admin";
my $kadm5 = Authen::Krb5::Admin->init_with_password($username,
$password,  $serv
ice, $krbConfig) || die "ERROR: ",Authen::Krb5::Admin::error;

So far in my script I'm only dealing with one realm. I'll deal with
adding the code for the other realm once I'm able to authenticate
against just one realm using the Config object to specify which realm
I'm connecting to.

hartmans at MIT.EDU (Sam Hartman) wrote in message news:<tsloejz8hqi.fsf at>...
> If you are going to use a different realm you need to also use a
> different admin principal.
> ________________________________________________
> Kerberos mailing list           Kerberos at

More information about the Kerberos mailing list