From 65f7e24b545ed5357cccf82a635863a8c3d04535 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 5 Jun 2008 07:13:16 +0000 Subject: [PATCH] Fixed randkey call git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11222 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/client/events/krb5.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } -- 2.30.2