Commit 03790809 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: #2922 Samba plugin is trigerring an error

parent ae180572
......@@ -501,6 +501,7 @@ class sambaAccount extends simplePlugin
_("Cannot convert primary group to samba group: group cannot be identified!"),
WARNING_DIALOG);
} else {
$ldap->fetch();
$g = new group($this->config, $ldap->getDN());
if ($g->sambaSID == "") {
$g->sambaDomainName = $this->sambaDomainName;
......
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