From: hickert Date: Mon, 31 Mar 2008 13:56:07 +0000 (+0000) Subject: Setup white page X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26564c0a20dee0332c51d302715b78e836eaf46b;p=gosa.git Setup white page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10093 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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){