Code

Added property class to get_cfg_requests
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:04:23 +0000 (10:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 5 May 2010 10:04:23 +0000 (10:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18122 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_password-methods-MIT.inc

index 66b8128be2fb5ba9db92cb5ac31b736cd079adcd..6505f91138cd81756cca11898435d22433445d8a 100644 (file)
@@ -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($this->config) && $this->config->get_cfg_value("useSaslForKerberos") == "true"){
+    if (is_object($this->config) && $this->config->get_cfg_value("core","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($this->config) && $this->config->get_cfg_value("useSaslForKerberos") == "true"){
+    if (is_object($this->config) && $this->config->get_cfg_value("core","useSaslForKerberos") == "true"){
       $mode= "sasl";
     }
     return "$mode";