[22535] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Problems using Authen::Krb5::Admin

daemon@ATHENA.MIT.EDU (Darren Boss)
Wed Sep 22 13:08:51 2004

From: google@sirloinpope.com (Darren Boss)
Date: 21 Sep 2004 21:30:04 -0700
Message-ID: <fe80bd84.0409212030.4100aa14@posting.google.com>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

#!/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@MIT.EDU (Sam Hartman) wrote in message news:<tsloejz8hqi.fsf@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@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post