Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: mbahloul on February 08, 2006, 10:45:08 PM

Title: how to change username constraints?
Post by: mbahloul on February 08, 2006, 10:45:08 PM
Right now I can only create username with up to 12 characters.
How Can I change the constraints on the username to allow more than 12 characters?

I am using e-smith version 6.0.1-01

Thanks for your help.

M
Title: how to change username constraints?
Post by: pfloor on February 09, 2006, 06:47:50 AM
What version of SME are you running?
Title: how to change username constraints?
Post by: Franco on February 10, 2006, 01:48:50 PM
From the Manual:
The limit of twelve characters was deliberately fixed to ensure a compatibility with Windows 9x hosts. You can modify the maximum length by associating the value wanted with the variables maxIbayNameLength, maxAcctNameLength and maxGroupNameLength. When no value is specified, twelve is used by default.
For example, to authorize a fifteen-character maximum length for i-bay names, type the command:

'/sbin/e-smith/db configuration set maxAcctNameLength 15'
'/sbin/e-smith/signal-event console-save'
Title: how to change username constraints?
Post by: mbahloul on February 10, 2006, 07:31:36 PM
Thanks for your help.