Code

Updated heimdal method-
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Apr 2008 08:26:23 +0000 (08:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 25 Apr 2008 08:26:23 +0000 (08:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10683 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index e76bd986805a5c96fed02f366a48127a08385ba0..5700250cf16487402f1cfa25bcf381bf82e08b07 100644 (file)
@@ -113,9 +113,11 @@ class passwordMethodheimdal extends passwordMethod
 
     /* If we have a running SI-Server which support kerberos support
         skip this ldap based method.
+       Only method can win.
     */
-    if(class_available("passwordMethodMIT") && passwordMethodMIT::is_available()){
-      return(FALSE);
+    if(class_available("passwordMethodMIT")){
+      $tmp = new passwordMethodMIT($config);
+      if($tmp->is_available()) return(FALSE);
     }
 
     $cmd = "";