Does anyone know how to to get Authen::Krb5::Admin->init_with_password to work with something besides the default realm?
I tried:
my $MSAD_HOST = "AD domain controller"; my $MSAD_DOMAIN = "AD domain" Authen::Krb5::init_context() or die $@; my $krb5conf = Authen::Krb5::Admin::Config->new(); $krb5conf->admin_server($MSAD_HOST); $krb5conf->realm($MSAD_DOMAIN); my $kadm5 = Authen::Krb5::Admin->init_with_password($user, $oldpw, KADM5_CHANGEPW_SERVICE, $krb5conf) or die $@;
The above always dies whe I try the init_with_password().
I can change the password using kpasswd:
$ kpasswd sptester@DOMAIN.NETSo I am guessing there is something wrong with my syntax.
In reply to Re^3: Change a user's Kerberos Password?
by enemyofthestate
in thread Change a user's Kerberos Password?
by 5mi11er
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |