change principal using perl Authen::krb5::admin

Jason T Hardy jthardy at uta.edu
Mon Apr 11 15:41:00 EDT 2005


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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.mit.edu/pipermail/kerberos/attachments/20050411/a72fb19f/attachment.bin


More information about the Kerberos mailing list