Change pre2000 name during user creation
Hallo all,
Currently when we are creating a user in cloudpanel it created a pre2000 username which is the first+lastname attached to each other.
i was wondering if i can change this setting to always take the UPN ( without @domain.ext ) as the pre2000 name.
any help would be much appreciated
You are in luck! This functionality is already built in. If you go to Advanced on the CloudPanel settings you will find the SamAccountName format which you can change to what you are wanting. You can reach more about it here: http://kb.knowmoreit.com/advanced/advanced-settings/
You just need to change it to 0 from 1.
Thank you so much for your reply.
if i understand correctly the setting (0) is correct for my use.
This will use the text supplied in the username before the @ symbol. It will strip any invalid characters and if there is already a sAMAccountName then it will start appending numbers until it finds one available.
however right now when we create a user with UPN “t.test@domain.ext” it wil create a pre2000 name which is “ttest”
so for some reason the “.” is not copied to the pre2000 name.
now we manually change this in de active directory and cloudpanel database. so it seems to work fine after manually changing. but how do i achieve this setting without manually changing it? is the “.” maybe not supported?
- 5 Forums
- 714 Topics
- 3,630 Posts
- 0 Online
- 254 Members