Commit f6b1d32e authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5938-make-passwordclear-available-to-sambaaccount-hooks' into '1.3-fixes'

Resolve "Make %passwordClear% available to sambaAccount hooks"

See merge request fusiondirectory/fd-plugins!498
parents b2f81513 0e7ec070
......@@ -621,6 +621,14 @@ class sambaAccount extends simplePlugin
$this->sambaSID = "";
function callHook($cmd, array $addAttrs = array(), &$returnOutput = array(), &$returnCode = NULL)
$addAttrs['passwordMethod'] = $this->parent->getBaseObject()->attributesAccess['userPassword']->getMethod();
$addAttrs['userLocked'] = $this->parent->getBaseObject()->attributesAccess['userPassword']->isLocked();
$addAttrs['passwordClear'] = $this->parent->getBaseObject()->attributesAccess['userPassword']->getClear();
return parent::callHook($cmd, $addAttrs, $returnOutput, $returnCode);
/* Returns TRUE if this attribute should be asked in the creation by template dialog */
function showInTemplate($attr, $templateAttrs)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment