fixed management of special groups
This commit is contained in:
parent
fa3cefd455
commit
a5df2be6a3
|
@ -418,10 +418,12 @@ class sambaGroupMapping extends baseModule {
|
||||||
// Get Domain SID
|
// Get Domain SID
|
||||||
$this->attributes['sambaSID'][0] = $SID."-".$this->rids[$rids[$i]];
|
$this->attributes['sambaSID'][0] = $SID."-".$this->rids[$rids[$i]];
|
||||||
// Do a check if special group is unique
|
// Do a check if special group is unique
|
||||||
if ($_SESSION['cache']->in_cache($SID."-".$this->rids[$rids[$i]], 'sambaSID', 'group')) {
|
if ($_SESSION[$this->base]->isNewAccount) {
|
||||||
$message = $this->messages['sambaSID'][0];
|
if ($_SESSION['cache']->in_cache($SID."-".$this->rids[$rids[$i]], 'sambaSID', 'group')) {
|
||||||
$message[] = $rids[$i];
|
$message = $this->messages['sambaSID'][0];
|
||||||
$triggered_messages['sambaSID'][] = $message;
|
$message[] = $rids[$i];
|
||||||
|
$triggered_messages['sambaSID'][] = $message;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue