Koozali.org: home of the SME Server

Changing the length of usernames from to 12 to 20?

hackersoft

Changing the length of usernames from to 12 to 20?
« on: November 16, 2006, 10:33:45 AM »
Does anyone here knows how to configure SME to use more than
12 characters for user names in SME 7?

I've read from other posts that it was set to 12 for win9x compatibility, but my operating environment are all running WIN XP...

I'm planning to use SME as the PDC but problems with long user names occur and cannot be done properly.

I'm using lazy admin tools to create hundreds of user accounts.

Is it possible?

Please post back your reply if you have a quick fix/tweak!

Thanks in advance! :)

Offline Terry

  • ***
  • 46
  • +0/-0
    • http://brummell.net
Changing the length of usernames from to 12 to 20?
« Reply #1 on: November 16, 2006, 01:30:19 PM »
Well, I just did:
[root@webserver02 ~]# db configuration show

and many lines down I see:
maxAcctNameLength=31
maxGroupNameLength=31

I'm pretty sure that changed with ver7.  Note sure if the posts you read were specific to version 7 or not.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Changing the length of usernames from to 12 to 20?
« Reply #2 on: November 16, 2006, 01:38:10 PM »
I discovered lazy admin tools must be at LATEST version to allow to use usernames greater than 12 characters. So be sure to find latest one (I just cannot remember from my head... but THINK it´s something like 0.9.2-5...)

and to allow greater name on SME you must to change a propierty on SME.
Search for "maxAcctNameLength" on forums... all info is here.
Here is my config:

[root@tigre ~]# /sbin/e-smith/db configuration show|grep -i maxAcct
maxAcctNameLength=31
[root@tigre ~]#


Good luck

Jáder
...

hackersoft

Changing the length of usernames from to 12 to 20?
« Reply #3 on: November 16, 2006, 01:39:28 PM »
If it's now set to 31, I'm wondering why the error message shows for a user name longer than 12 characters?

Nway, since It's causing me so much time to discover it, I just limit the user names though it's not as readable though... I have to lookup whose who when adding/modifying/deleting shares on one of my fileserver...

Not sure what's causing the problem if it's really 31 now...
 :?:

Offline Terry

  • ***
  • 46
  • +0/-0
    • http://brummell.net
Changing the length of usernames from to 12 to 20?
« Reply #4 on: November 16, 2006, 01:42:06 PM »
Have you added a user manually from the server-manager that's greater then 12, or are you just relying on LAT for this info?  As Jader's post says, make sure you are using the lastest version of LAT if it is the latter.

hackersoft

Changing the length of usernames from to 12 to 20?
« Reply #5 on: November 16, 2006, 01:42:26 PM »
Thanks for the info... I'll dig more about the lazy admin tools update and see if it will fix it...

A link to the update (if you already found it) from this thread is much appreciated... Thanks!

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Changing the length of usernames from to 12 to 20?
« Reply #6 on: November 16, 2006, 01:56:27 PM »
Not sure if it´s this one (no access to server with lattest update and just using my brain):

http://mirror.contribs.org/smeserver/contribs//jbennett/sme7/lat/smeserver-lazy_admin_tools-0.9.1-2.noarch.rpm

Appear to be this because of his date!


And here http://forums.contribs.org/index.php?topic=4992.0
you can find the information about change 12 character limit on SME.


Good luck

Jáder
...

hackersoft

Changing the length of usernames from to 12 to 20?
« Reply #7 on: November 16, 2006, 02:15:53 PM »
Thanks, I'll have a check... :D