Page 1 of 1

Missing/broken features in v1.2

Posted: 2022-01-28 15:23
by KaareP
Hi

I was trying to see if could automate our process of creating/deleting users in Filezilla FTP Server.
But the new version 1.2 does not seem to be fully feature compatible with the old v0.9.6

First config reload does not work for me. This is really needed when wanting to automate user creation.
The "/reload-config" was replaced with "sc.exe control filezilla-server paramchange" according to below forum post
viewtopic.php?f=3&t=54184&p=179327&hili ... ig#p179327

Tested on Windows server 2019.

Code: Select all

sc.exe control filezilla-server paramchange
	[SC] ControlService FAILED 1052:
	The requested control is not valid for this service.

The autocreate directories for groups seems to be gone - will this be added? Or am I blind and can´t find it?

Configuration converter not working for all passwords.
Tried converting a xml file from v0.9.6 to v1.2

Users with only a hash gets converted just fine.
Users with both a hash and a salt fails to be converted, see below.

Before converting:

Code: Select all

<Option Name="Pass">E130C44F6350AA551717ACEF7825CCE3CBB919F218CA8DFD2C418DAF1B14404009897EF5B58FD9278E54E6F03A857B8462681E5458FBF8CC3C67905F1E507749</Option>
<Option Name="Salt">7I;~D;nkmPil}(JIHfR,6Y+_#@9Uq}[fPEV63Rn;Qt_iXc#aH*H9@]BD-F0D$F@W</Option>
After converting:

Code: Select all

<password index="3">
	<hash>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</hash>
	<salt>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</salt>
</password>
Also you have to fix the virtual paths after you convert the file, or else it complains about the virtual paths not being unique.

Re: Missing/broken features in v1.2

Posted: 2022-01-29 04:17
by boco
Answer to the first question: Please, always read everything that's written there. @oibaf wrote on 2022-01-28, that the changes have now been implemented. It is therefore logical, that these changes cannot yet be contained in the released version 1.2.0. They will be available with the next Nightly version (probably the 2022-01-29 one), and then in the next Server release.
The topic linked to actually contains the information that in the current release 1.2.0, there is not way to reload the Server except through the administration protocol.

Re: Missing/broken features in v1.2

Posted: 2022-01-31 13:53
by botg
Can you please post the complete XML element of the entire user from the old server?

Re: Missing/broken features in v1.2

Posted: 2022-02-01 10:04
by KaareP
Sure, here is the user config

Code: Select all

        <User Name="kp">
            <Option Name="Pass">E130C44F6350AA551717ACEF7825CCE3CBB919F218CA8DFD2C418DAF1B14404009897EF5B58FD9278E54E6F03A857B8462681E5458FBF8CC3C67905F1E507749</Option>
            <Option Name="Salt">7I;~D;nkmPil}(JIHfR,6Y+_#@9Uq}[fPEV63Rn;Qt_iXc#aH*H9@]BD-F0D$F@W</Option>
            <Option Name="Group">Suppliers</Option>
            <Option Name="Bypass server userlimit">2</Option>
            <Option Name="User Limit">0</Option>
            <Option Name="IP Limit">0</Option>
            <Option Name="Enabled">2</Option>
            <Option Name="Comments"></Option>
            <Option Name="ForceSsl">2</Option>
            <IpFilter>
                <Disallowed />
                <Allowed />
            </IpFilter>
            <Permissions />
            <SpeedLimits DlType="0" DlLimit="10" ServerDlLimitBypass="2" UlType="0" UlLimit="10" ServerUlLimitBypass="2">
                <Download />
                <Upload />
            </SpeedLimits>
        </User>

Re: Missing/broken features in v1.2

Posted: 2022-02-01 14:18
by botg
Worked for me, I could convert this user just fine. Very puzzling.

Re: Missing/broken features in v1.2

Posted: 2022-02-02 09:02
by KaareP
Well, I just tried again...and now it works.
No entries with all A´s
So now I´m puzzled too.