From: cajus Date: Thu, 5 Jun 2008 07:13:16 +0000 (+0000) Subject: Fixed randkey call X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=65f7e24b545ed5357cccf82a635863a8c3d04535;p=gosa.git Fixed randkey call git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11222 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/client/events/krb5.pm b/gosa-si/client/events/krb5.pm index 474e1ed33..57d295a7f 100644 --- a/gosa-si/client/events/krb5.pm +++ b/gosa-si/client/events/krb5.pm @@ -150,8 +150,8 @@ sub krb5_create_principal { $princ->principal($principal); $kadm5->create_principal($princ, join '', map { chr rand(255) + 1 } 1..256) or &add_content2xml_hash($out_hash, "error", Authen::Krb5::Admin::error); - # Directly randomize key - $kadm5->randkey_principal($princ); + # Directly randomize key + $kadm5->randkey_principal($principal); } }