increased user+group size

This commit is contained in:
Roland Gruber 2013-01-21 19:09:31 +00:00
parent 5cd7d6b756
commit a125746ed5
2 changed files with 2 additions and 2 deletions

View File

@ -1113,7 +1113,7 @@ class posixAccount extends baseModule implements passwordService {
if (isset($this->attributes['uid'][0])) $userName = $this->attributes['uid'][0]; if (isset($this->attributes['uid'][0])) $userName = $this->attributes['uid'][0];
$uidInput = new htmlTableExtendedInputField(_("User name"), 'uid', $userName, 'uid'); $uidInput = new htmlTableExtendedInputField(_("User name"), 'uid', $userName, 'uid');
$uidInput->setRequired(true); $uidInput->setRequired(true);
$uidInput->setFieldMaxLength(50); $uidInput->setFieldMaxLength(100);
$return->addElement($uidInput, true); $return->addElement($uidInput, true);
$commonName = ''; $commonName = '';
if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0]; if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0];

View File

@ -177,7 +177,7 @@ class posixGroup extends baseModule implements passwordService {
} }
$cnInput = new htmlTableExtendedInputField(_("Group name"), 'cn', $cn, 'cn'); $cnInput = new htmlTableExtendedInputField(_("Group name"), 'cn', $cn, 'cn');
$cnInput->setRequired(true); $cnInput->setRequired(true);
$cnInput->setFieldMaxLength(30); $cnInput->setFieldMaxLength(100);
$return->addElement($cnInput, true); $return->addElement($cnInput, true);
} }
// GID number // GID number