summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e37e983)
raw | patch | inline | side by side (parent: e37e983)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Apr 2010 12:12:46 +0000 (12:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 12 Apr 2010 12:12:46 +0000 (12:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@17589 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/functions.inc | patch | blob | history | |
gosa-core/include/password-methods/class_password-methods.inc | patch | blob | history |
index 8609fab62e3f2236c7a81ea923b6bf1b1e3d5542..200558212108ab700a64af7bba7b9a55d4d28e5a 100644 (file)
// Get all available encryption Methods
// NON STATIC CALL :)
- $methods = new passwordMethod(session::get('config'));
+ $methods = new passwordMethod(session::get('config'),$dn);
$available = $methods->get_available_methods();
// read current password entry for $dn, to detect the encryption Method
} else {
// User MD5 by default
$hash= "md5";
- $test = new $available['md5']($config);
+ $test = new $available['md5']($config, $dn);
}
if($test instanceOf passwordMethod){
diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc
index cde47c38ee56f835040f0626c086058172ea29f1..e1c348f2d300a874d9114bcd1eaa404f7389d61c 100644 (file)
var $lockable = TRUE;
// Konstructor
- function passwordMethod($config)
+ function passwordMethod($config, $dn)
{
}