FTP Access restrictions (bug?)
I don't know if i posted this in the correct forum, just move it otherwise ;)
I just completed a ISPConfig migration to a fresh new server.
It runs on Debian Etch - ISPConfig 2.2.25
Now i've got a complaint from a reseller that he couldn't log in with newly created users on the ftp server. Now i noticed when i logged in with the admin login, i saw "FTP Access" on that account wasn't checked, checked it, and worked.
Logging in as that reseller i noticed the "FTP Access" option wasn't visible in deck 0, whilst i did give him those rights to set ftp access for sites under his account.
so i started debugging, and found out that in the file lib/classes/ispconfig_isp_web.lib.php line 134 says:
if i hard code element 21 to visible = 1, the ftp access option shows on deck 0 while logging in with the reseller account.
if you print_r($doc->deck); you'll find:
bug? or am i missing something here?
I have added this to our bugtracker. We will check this.
It's working for me:
hmm strange, i've installed this ispconfig system on a fresh new debian installation, downloaded the source right from the ispconfig website, didn't change a thing to the code.
i DID migrate the websites, mailboxes etc from the previous ispconfig system. But that has nothing to do with any soure code.
When you migrate a server, 3 tables may not be overwritten:
as they contain data that is specic to this server or to the ispconfig version.
To fix this, download ispconfig 2.2.25 again and run the setup script to update ISPConfig.
Ahhh, oke, that was not written on the migrate thread i used, it actually said, and i quote "Also replace the ISPConfig database with the old one." ;-)
(http://www.howtoforge.com/forums/showthread.php?t=2717 falko's reply)
I ripped the data of the doctype table from db_ispconfig.sql and imported that.
i thought i worked, but when i change a resellers (the right to set ftp access) data i get:
Unknown column 'limit_ruby' in 'field list'
and when a reseller tries to change the ftp access field he gets:
Unknown column 'web_ruby' in 'field list'
checking isp_isp_reseller that field (limit_ruby) doesn't exist, so i think there are more tables that are not allowed to be migrated :( (i'm migrating from 2.2.23 -> 2.2.25)
- Added fields to isp_isp_reseller: limit_ruby, limit_python, limit_cron
- Added fields to isp_isp_web: web_python, web_cron
- Added field to isp_isp_user: user_cron
- Added fields to isp_isp_web_template: web_ruby, web_python, web_cron
- Added fields to isp_server: global_stats_user, global_user_password
- Added tables: dns_ptr, isp_isp_cron
|All times are GMT +2. The time now is 15:57.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.