View Single Post
Old 20th January 2012, 06:48
bajodel bajodel is offline
Join Date: Jul 2007
Location: Italy
Posts: 63
Thanks: 26
Thanked 12 Times in 11 Posts
Default [CLIENTID] Prefix issue..

In order to better explain my issue, i'll give you an example..

(testing on ISPConfig 3 v & debian squeeze)

If I globally set prefixes like that:

DB Name: dbn[CLIENTID]_
DB User: dbu[CLIENTID]_

The Client (and also the admin) can successfully create/edit items like..
- ftp3_mycustom
- dbn_mydbname
- dbu_whatiwant
..without any conflicts.

The reseller, instead, cannot add/edit items correctly because the interface imposes the reseller [CLIENTID] which take precedence over the client one.
For example.. if a reseller try to edit an already inserted client ftp user like 'ftp3_mycustom', the interface add another prefix and the result is something like 'ftp2_ftp3_mycustom'.
The problem is also visible if the reseller create first the user (so 'ftp2_mycustom') and the client try to edit it.

All is ok if the add/edit actions are made by the admin. In this case the prefixes are correctly preserved.

Am I wrongly using the "prefix feature" or it's a little bug ?

Last edited by bajodel; 20th January 2012 at 06:56. Reason: adding some missing info..
Reply With Quote
Sponsored Links