From 96e1e025596ddbe0e6c335381e1ef76511d8e1aa Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 13 Apr 2011 18:41:17 +0000 Subject: [PATCH] allow longer user names --- lam/lib/modules/posixAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/modules/posixAccount.inc b/lam/lib/modules/posixAccount.inc index ddf97e95..2e87031e 100644 --- a/lam/lib/modules/posixAccount.inc +++ b/lam/lib/modules/posixAccount.inc @@ -943,7 +943,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(20); + $uidInput->setFieldMaxLength(50); $return->addElement($uidInput, true); $commonName = ''; if (isset($this->attributes['cn'][0])) $commonName = $this->attributes['cn'][0];