From: hickert Date: Tue, 30 Jun 2009 13:06:12 +0000 (+0000) Subject: Updated password method mit X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=45062d0177831befb1bf439c81738af23f865f67;p=gosa.git Updated password method mit git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13854 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_password-methods-MIT.inc b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_password-methods-MIT.inc index bf7092834..66b8128be 100644 --- a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_password-methods-MIT.inc +++ b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_password-methods-MIT.inc @@ -111,7 +111,7 @@ class passwordMethodMIT extends passwordMethod /* No config object given, this may be the case if there is only a is_available() request triggered. */ - if(!is_object($config)){ + if(!is_object($this->config)){ return; } @@ -369,7 +369,7 @@ class passwordMethodMIT extends passwordMethod /* No config object given, this may be the case if there is only a is_available() request triggered. */ - if (is_object($config) && $this->config->get_cfg_value("useSaslForKerberos") == "true"){ + if (is_object($this->config) && $this->config->get_cfg_value("useSaslForKerberos") == "true"){ $mode= "sasl"; } return "{".$mode."}".$this->attrs['uid'][0]."@".$this->goKrbRealm; @@ -425,7 +425,7 @@ class passwordMethodMIT extends passwordMethod /* No config object given, this may be the case if there is only a is_available() request triggered. */ - if (is_object($config) && $this->config->get_cfg_value("useSaslForKerberos") == "true"){ + if (is_object($this->config) && $this->config->get_cfg_value("useSaslForKerberos") == "true"){ $mode= "sasl"; } return "$mode";