Code

Setup white page
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Mar 2008 13:56:07 +0000 (13:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 31 Mar 2008 13:56:07 +0000 (13:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10093 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc

index 61b0626181c984747d22e300ebfb8ad7d21a9f84..a6505b00ffc9194fd87db080b3ecb37d9fbba61f 100644 (file)
@@ -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){