Koozali.org: home of the SME Server

Username character limit

David Trask

Username character limit
« on: August 02, 2002, 02:24:50 AM »
Hi,

I am getting ready to redo my server and upgrade to 5.5  Last year I used Darrell May's adduser script to add all my 550+ users to the system.  I started out with an excel spreadsheet of all the students names...created usernames using the first initial last name format and so forth.  The process was in fits and starts at first since I'd run the script and then it would run into a name that had more than 13 characters.  Is this limitation at all avoidable?  Is there a workaround?  Does it still exist in 5.5 and why does it exist?

Thanks,

David

Jon Blakely

Re: Username character limit
« Reply #1 on: August 02, 2002, 04:57:10 AM »
You can change the length of the account name. In version 4.1.1 to 5.5, below will change Account length, where 15 can be any number.


# /sbin/e-smith/db configuration set maxAcctNameLength 15
#  /sbin/e-smith/signal-event console-save

# /sbin/e-smith/db configuration set maxIbayNameLength 15
#  /sbin/e-smith/signal-event console-save

will change the length of the Ibay name and

# /sbin/e-smith/db configuration set maxGroupNameLength 15
#  /sbin/e-smith/signal-event console-save

will change the length of the group name


The limits was set to 12 to provide compatibility to windows 9x.

Jon