Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 20th February 2010, 01:57
finn finn is offline
HowtoForge Supporter
Join Date: Jun 2006
Posts: 25
Thanks: 12
Thanked 1 Time in 1 Post
Default Possible bug in admin / reseller / client domain allocation

Hi there.

We have hit on a possible bug, or combination of bugs. I know there is a bug tracker, but wanted to post here first in case we are missing something or others came across this.

We have resellers and clients setup in ISPConfig on Debian Lenny.

Log in as admin, set up a reseller, set up a domain and assign the domain to a reseller. Then log in as reseller, click on sites, websites, domain, and click on the stats tab. This gives us an error:


1. error_no_view_permission

The website domain is then no longer available to the reseller logged in.

Logging back in as admin reveals that the domain is now apparently owned by a different client. This is rather worrying.

Possible cause?:
So, reviewing the ispconfig database ( dbispconfig in our case) shows that that all web domains created by the admin user have the sys_userid of 1 (the admin user). Is this right?

We think that when the domain is assigned to the client, the domain should perhaps inherit the sys_userid of the new client. So when we set the sys_userid to that of the new client, the domain pops back into the client's control panel, and the client can then view the stats tab.

Further investigation shows that this behaviour is only exhibited when the web domain is assigned to a reseller, not to a non-reseller client. When the domain assigned to the reseller is accessed, and the stats tab is clicked, we get the error mentioned and the value for the sys_groupid in the web_domain table is changed.

Is this behaviour repeatable by anyone else?
Has something happened to our data to result in inconsistency?

Is somewhere we can see a description of the database schema and how the various sys_userid, sys_groupid, client_id should be interacting?

Many thanks.

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 server stopped working and fails restart without error chillifire Installation/Configuration 3 13th March 2008 17:26
Cannot create client, reseller and hosting plan crapufish Installation/Configuration 22 15th March 2007 11:27
Configure Linux client to join a Samba domain controller denny_lin Installation/Configuration 1 9th June 2006 13:31
ISPConfig - Install/Update deletes hostname from my domain from admin URL Prompt Developers' Forum 4 23rd November 2005 00:01
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs pontifex HOWTO-Related Questions 2 26th October 2005 18:54

All times are GMT +2. The time now is 16:41.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.