View Full Version : domain_username instead of web[WEBID]_username
HackerJL
19th July 2006, 02:10
Example: domain.com has a user james
currently i have the option of web1_whateveriwant
Can I change the global option to be domain_whateveriwant
currently under Management->system config->settings->ISP config tab it is:
web[WEBID]_
I dont know the string, but could it be something along the lines of:
[domain]_
??
or what are the arguements allowed here?
TheRudy
19th July 2006, 11:29
Not really, that is something that i would also like to see in ISPconfig, instead of static prefixes, you would have domain name prefixes where its possible, like mysql and so on..
You can put whatever you want instead of 'web'[WEBID]_ but it will always be the same for all users..
Your prefix + [WEBID]
No other way..
till
19th July 2006, 11:45
You can use the [DOMAIN], [WEBID] or [HOST].
Please have a look here:
http://www.howtoforge.com/faq/index.php?action=artikel&cat=14&id=47
TheRudy
19th July 2006, 12:55
Hey, i didn't know that..
[domain] = users domain.tld not the main/server domain?
[host] = hostname?
what happens, if i'm using [webid] currently and i change it to [domain]? Will everything be changed or will those accounts that have [webid] die as in not working anymore? :)
till
19th July 2006, 15:31
Hey, i didn't know that..
[domain] = users domain.tld not the main/server domain?
[host] = hostname?
If you have a website www.yourdomain.com, then:
[HOST] = www
[DOMAIN] = yourdomain.com
what happens, if i'm using [webid] currently and i change it to [domain]? Will everything be changed or will those accounts that have [webid] die as in not working anymore? :)
Existing usernames where not affected by that change.
agbert
18th August 2006, 02:09
If you have a website www.yourdomain.com, then:
[HOST] = www
[DOMAIN] = yourdomain.com
This does not seem to work for the User Prefix as indicated. I set User Prefix to '[domain]_'. When adding a user/email the system returns an error: "Field: Username The user name has to contain a minimum of 4 and a maximum of 32 letters or figures and has to begin with a letter." The domain I am working with plus '_' plus the username itself is not >32 chars, so this must be an error due to using [domain].
Thoughts?
Andrew...
HackerJL
18th August 2006, 02:20
I tried this on an existing server that is running. I changed it to [domain]_
I made a domain called testdomain.com
and added a user. It gave me a user of testdomain.com_jimmybobusername and it let me.
I dont know what you were putting for the username part...
agbert
18th August 2006, 02:24
'agbert.net' is the domain and andrewg is the username. Which should net me agbert.net_andrewg.
Andrew...
agbert
18th August 2006, 02:30
Attached is the screen shot for the add user form. Maybe something else is wrong because I would expect agbert.org_ to appear not [domain]_.
Andrew...
HackerJL
18th August 2006, 03:00
make sure in your settings its set the [DOMAIN]_ not [domain]_
I just tried it again and this is what I am seeing.
agbert
18th August 2006, 03:02
Yup, that did it!
Thank You!
jockstrap
18th August 2006, 06:11
wow - all that seems too complecated for me..
I took it away completely and have the user simply make a name in the
format initial.surname much easier for them as well...
If there is a clash, well they just pick a slight variation..
agbert
18th August 2006, 16:54
Well, yes. That is what I have ended up doing as well. I had been browsing and found the setting interesting, and decided to try. The rest is history.
actiononline
26th September 2006, 22:36
I tried this tonight on my server and found it was working fine for me. The only thing was that it still kept adding the domain number to the usernames. Even with this, it much easier identifying user activity in the logs when you can identify the domain extention.
It helped me a great deal anyway!
till
27th September 2006, 10:24
When there is no "[WEBID]" in the prefix string, then no ID is added to the username.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.