From 26564c0a20dee0332c51d302715b78e836eaf46b Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 31 Mar 2008 13:56:07 +0000 Subject: [PATCH] Setup white page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10093 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../services/kerberos/class_password-methods-heimdal.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc index 61b062618..a6505b00f 100644 --- a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc +++ b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc @@ -69,9 +69,15 @@ class passwordMethodheimdal extends passwordMethod $this->krb5ValidEnd = date("Ymd",time())."0000Z"; $this->krb5PasswordEnd= date("Ymd",time())."0000Z"; + if(!is_object($config)){ + return; + } + + /* Load existing entries */ if($dn != "new"){ $ldap = $this->config->get_ldap_link(); + $ldap->cd($dn); $ldap->ls("objectClass=krb5Principal",$dn,array("*")); if($ldap->count()==1){ -- 2.30.2