Try this:

Look at my last example. Instead of calling create_principal, call the
chpass_principal method:

$success = $kadm5->chpass_principal($krb5_princ, $password);

You'll need to evaluate $success after the call. Again, search CPAN for
krb5:admin and you'll get plenty of examples.

Jason

On Mon, 2005-04-11 at 14:56 -0400, FM wrote:
> Hello,
> 
> I'm not use to Object oriented programming.
> 
> Do you have sample script that update principal using this perl package ?
> 
> Thanks !
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
-- 

Jason T Hardy
Enterprise Operations and Systems
Office of Information Technology
University of Texas at Arlington
GnuPG Public Key: http://omega.uta.edu/~jthardy/jthardy.gpg.asc

Attachment: signature.asc
Description: This is a digitally signed message part

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to