From 3a208b38a3398470e8879d666a9a0deb702adcaa Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 27 Sep 2005 12:41:38 +0000 Subject: [PATCH] fixed additional groups in PDF --- lam/HISTORY | 1 + lam/lib/modules/posixAccount.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lam/HISTORY b/lam/HISTORY index 5c5fa56f..13c95637 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -1,6 +1,7 @@ ??? 0.5.1 - fixed bugs: -> automatic UID/GID assignment did not fully work + -> PDF: additional groups for Unix users 28.09.2005 0.5.0 diff --git a/lam/lib/modules/posixAccount.inc b/lam/lib/modules/posixAccount.inc index ea664e05..aff3f984 100644 --- a/lam/lib/modules/posixAccount.inc +++ b/lam/lib/modules/posixAccount.inc @@ -1149,7 +1149,7 @@ class posixAccount extends baseModule { 'posixAccount_gidNumber' => array('' . _('GID number') . '' . $this->attributes['gidNumber'][0] . ''), 'posixAccount_gecos' => array('' . _('Gecos') . '' . $this->attributes['gecos'][0] . ''), 'posixAccount_primaryGroup' => array('' . _('Primary group') . '' . $_SESSION['cache']->getgrnam($this->attributes['gidNumber'][0]) . ''), - 'posixAccount_additionalGroups' => array('' . _('Additional groups') . '' . ''), + 'posixAccount_additionalGroups' => array('' . _('Additional groups') . '' . implode(", ", $this->groups) . ''), 'posixAccount_homeDirectory' => array('' . _('Home directory') . '' . $this->attributes['homeDirectory'][0] . ''), 'posixAccount_userPassword' => array('' . _('Password') . '' . $this->attributes['userPassword'][0] . ''), 'posixAccount_loginShell' => array('' . _('Login shell') . '' . $this->attributes['loginShell'][0] . ''),