Page 1 of 1

Usermanager webconsole clipping Usernames

Posted: Sat Oct 14, 2006 10:59 pm
by airstream
Hi all, we have encountered a big problem in the latest release of Usermanger 2.9.32. Today I went through all our customers and changed nothing but the upload and download limits and then saved the user and on to the next. Now half our clients routers have disconnected and users cant login via PPPoE.

When going back to the usermanager web console all the usernames have appeared with the last few letters of the usernames clipped off!! both in M$ IE and Firefox.

So I try to delete the user, then recreate it but it will no longer accecpt usernames longer than 20 characters, a heap of customers are offline!!

How can i fix this time minimal?

Posted: Mon Oct 16, 2006 12:23 am
by airstream
Okay, I have a workaround. To alter a user in the Usermanager that has already got a longer username than 20 chars you will have to do so through the terminal console. That way you can still have usernames longer than 20 chars.

Is this a new feature to limit character length? or a bug in the javascript in the web console?

Posted: Mon Oct 16, 2006 11:52 am
by uldis
sorry for that, we have specified limitation for the 20 characters. We will increase that. What could be the optimum limit of that field, will 50 be enough?

Posted: Mon Oct 16, 2006 12:35 pm
by airstream
Thanks uldis, IMHO a maximum character length of 50 for the username would be perfect, If it comes to limit the password field the same value may be good also. RFC2865 says this about character lengths:
Type

      1 for User-Name.

   String

      The String field is one or more octets.  The NAS may limit the
      maximum length of the User-Name but the ability to handle at least
      63 octets is recommended.
Here it suggests 63 Characters