Problems using Authen::Krb5::Admin

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


#!/usr/bin/perl
use Authen::Krb5::Admin;
my $username = "userid";
my $password = "********";
my $krbConfig = Authen::Krb5::Admin::Config->new();
$service= "kadmin/admin";
$krbConfig->admin_server("****.****.****.****");
$krbConfig->realm("****.**");
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 cz.mit.edu>...
> If you are going to use a different realm you need to also use a
> different admin principal.
> 
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos


More information about the Kerberos mailing list