diff --git a/lam/lib/modules/posixAccount.inc b/lam/lib/modules/posixAccount.inc index e5f9a73b..67c112fe 100644 --- a/lam/lib/modules/posixAccount.inc +++ b/lam/lib/modules/posixAccount.inc @@ -1113,7 +1113,7 @@ class posixAccount extends baseModule implements passwordService { if (isset($this->attributes['uid'][0])) $userName = $this->attributes['uid'][0]; $uidInput = new htmlTableExtendedInputField(_("User name"), 'uid', $userName, 'uid'); $uidInput->setRequired(true); - $uidInput->setFieldMaxLength(50); + $uidInput->setFieldMaxLength(100); $return->addElement($uidInput, true); $commonName = ''; if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0]; diff --git a/lam/lib/modules/posixGroup.inc b/lam/lib/modules/posixGroup.inc index 5a651fa5..7b56a0dc 100644 --- a/lam/lib/modules/posixGroup.inc +++ b/lam/lib/modules/posixGroup.inc @@ -177,7 +177,7 @@ class posixGroup extends baseModule implements passwordService { } $cnInput = new htmlTableExtendedInputField(_("Group name"), 'cn', $cn, 'cn'); $cnInput->setRequired(true); - $cnInput->setFieldMaxLength(30); + $cnInput->setFieldMaxLength(100); $return->addElement($cnInput, true); } // GID number