diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc
index d45ec058a9f1be3930dd96650f7b8a7c3bf64f57..039886d5679257b9e2468b9903811fab6ecafe3d 100644 (file)
$ret['class'][$i]=$class;
$ret['is_configurable'][$i]= $cfg;
$ret['object'][$i]= $test;
+ $ret['desc'][$i] = $test->get_description();
$ret[$i]['name'] = $plugname;
$ret[$i]['class'] = $class;
$ret[$i]['object']= $test;
$ret[$i]['is_configurable']= $cfg;
+ $ret[$i]['desc'] = $test->get_description();
$ret[$plugname]=$class;
$i++;
}
}
+ function get_description()
+ {
+ return("");
+ }
+
+
// Method to let password backends remove additional information besides
// the userPassword attribute
function remove_from_parent()
// besides the userAttribute entry
function set_password($password)
{
+ return(TRUE);
}
// Try to find out if it's our hash...
- static function get_method($password_hash,$dn)
+ static function get_method($password_hash,$dn = "")
{
global $config;
foreach ($methods['class'] as $class){
$test = new $class($config,$dn);
- if(!$test->is_available())continue;
+# All listed methods are available.
+# if(!$test->is_available())continue;
$method= $test->_extract_method($password_hash);
if ($method != ""){
$test->set_hash($method);