Koozali.org: home of the SME Server

how to change username constraints?

mbahloul

how to change username constraints?
« 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

Offline pfloor

  • *****
  • 889
  • +1/-0
how to change username constraints?
« Reply #1 on: February 09, 2006, 06:47:50 AM »
What version of SME are you running?
In life, you must either "Push, Pull or Get out of the way!"

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
how to change username constraints?
« Reply #2 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'

mbahloul

how to change username constraints?
« Reply #3 on: February 10, 2006, 07:31:36 PM »
Thanks for your help.