summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9d8d0d2)
raw | patch | inline | side by side (parent: 9d8d0d2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Apr 2008 09:26:14 +0000 (09:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 28 Apr 2008 09:26:14 +0000 (09:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10710 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_gosaSupportDaemon.inc | patch | blob | history | |
gosa-core/include/password-methods/class_password-methods.inc | patch | blob | history |
diff --git a/gosa-core/include/class_gosaSupportDaemon.inc b/gosa-core/include/class_gosaSupportDaemon.inc
index 657d8a0276852697788d1889e1eacae50389de8d..503b8f0cfd3d9745bda6a7ffb1dae3b843f3f907 100644 (file)
$entries = $this->xml_to_array($str);
if(isset($entries['XML']) && is_array($entries['XML'])){
foreach($entries['XML'] as $entry){
- if(isset($entry['ID'])){
+ if(is_array($entry) && array_key_exists("ID",$entry)){
$ret[] = $entry['ID'];
}
}
diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc
index b2d0ac6fdf288bb59a8b3799ff564885345b9ba4..07b346f0996441b0ba7b71172e905295409e9323 100644 (file)
foreach ($methods['class'] as $class){
$test = new $class($config);
+ if(!$test->is_available())continue;
$method= $test->_extract_method($password_hash);
if ($method != ""){
$test->set_hash($method);