Commit 8e66b102 authored by Benoit Mortier's avatar Benoit Mortier
Browse files

Fixes: #2574 when saving a windows workstations the uid is not stored

parent c6fb6b0f
......@@ -269,7 +269,7 @@ class winstationGeneric extends simplePlugin
function compute_dn()
{
$this->attributesAccess['uid']->setValue($this->attributesAccess['cn']->getValue());
return 'uid='.$this->uid.','.get_winstations_ou().$this->base;
return 'uid='.$this->attributesAccess['uid']->getValue().','.get_winstations_ou().$this->base;
}
}
?>
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