ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2017-06-25T10:54:17Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4393WebDAV user problem2017-06-25T10:54:17ZJorgeWebDAV user problemHi, good morning,
We¹re having problems creating webdav users in the last version.
When you try to create a new user, the Website¹s field is empty and you
cann't create any user.
We were debugging the source code and and looks like th...Hi, good morning,
We¹re having problems creating webdav users in the last version.
When you try to create a new user, the Website¹s field is empty and you
cann't create any user.
We were debugging the source code and and looks like the problem is in the
quotes.
I attach you below the differents between both versions and how we fixed
it.
I¹d appreciate if you can check it to be sure that we fixed well the bug
Best regards
ISPConfig 3.1.1.p1
interface/lib/classes/custom_datasource.inc.php
$records = $app->db->queryAllRecords("SELECT web_domain.domain_id,
CONCAT(web_domain.domain, ' :: ', server.server_name) AS parent_domain
FROM web_domain, server WHERE web_domain.type = 'vhost' AND
web_domain.server_id IN (?) AND web_domain.server_id = server.server_id
AND ".$app->tform->getAuthSQL('r', 'web_domain')." ORDER BY
web_domain.domain", $server_ids);
SELECT web_domain.domain_id, CONCAT(web_domain.domain, ' :: ',
server.server_name) AS parent_domain FROM web_domain, server WHERE
web_domain.type = 'vhost' AND web_domain.server_id IN
('1,2,3,4,5,7,8,9') AND web_domain.server_id = server.server_id AND 1
ORDER BY web_domain.domain
ISPCONFIG 3.0.5.4p9
$records = $app->db->queryAllRecords("SELECT web_domain.domain_id,
CONCAT(web_domain.domain, ' :: ', server.server_name) AS parent_domain
FROM web_domain, server WHERE web_domain.type = 'vhost' AND
web_domain.server_id IN (".$app->db->quote($server_ids).") AND
web_domain.server_id = server.server_id AND
".$app->tform->getAuthSQL('r', 'web_domain')." ORDER BY
web_domain.domain");
SELECT web_domain.domain_id, CONCAT(web_domain.domain, ' :: ',
server.server_name) AS parent_domain FROM web_domain, server WHERE
web_domain.type = 'vhost' AND web_domain.server_id IN (1,2,3,4,5,7,8,9)
AND web_domain.server_id = server.server_id AND 1 ORDER BY
web_domain.domain3.1.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/4463Insecure creation of SSH user certificates2017-06-20T22:34:24ZTill BrehmInsecure creation of SSH user certificatesSSH user certificates were not created securely in ISPConfig versions < 3.1.2. The code to create the ssh private and public key has been completely rewritten and placed into a central function for easier maintenance in ISPConfig 3.1.2 t...SSH user certificates were not created securely in ISPConfig versions < 3.1.2. The code to create the ssh private and public key has been completely rewritten and placed into a central function for easier maintenance in ISPConfig 3.1.2 to solve this problem. Thank you very much to Greg for reporting this issue.3.1.2