Skip to content

Commit

Permalink
#332 moved create group with same name
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Nov 5, 2024
1 parent a671b73 commit 929fe3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lam/lib/modules/posixAccount.inc
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ class posixAccount extends baseModule implements passwordService, AccountStatusP
$accountContainerTmp->new_account();
$posixGroupModule = $accountContainerTmp->getAccountModule('posixGroup');
$nextGid = $posixGroupModule->getNextGIDs(1, $errors, $groupType);
unset($_SESSION[$sessionKey]);
if ($nextGid !== null) {
$dnNewGroup = 'cn=' . $newGroupName . ',' . $groupType->getSuffix();
$attributesNewGroup = [
Expand Down

0 comments on commit 929fe3f

Please sign in to comment.