Issue Details (XML | Word | Printable)

Key: CORE-5235
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Paul Reeves
Reporter: F.D.Castel
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Firebird Core

/SUPPORTLEGACYCLIENTAUTH not working on 3.0 x64 installer

Created: 10/May/16 06:30 PM   Updated: 12/May/16 01:19 AM
Component/s: Installation
Affects Version/s: 3.0.0
Fix Version/s: None

Environment: Windows 8.1 x64

QA Status: No test


 Description  « Hide
Running the installer with /SUPPORTLEGACYCLIENTAUTH is not working.

If I run Firebird-3.0.0.32483_2_x64.exe and check the option "Enable authorization for legacy Firebird clients" it adds the following lines in firebird.conf

AuthServer = Legacy_Auth, Srp, Win_Sspi
AuthClient = Legacy_Auth, Srp, Win_Sspi
UserManager = Legacy_UserManager, Srp
WireCrypt = enabled


However, if I run the installer passing these arguments:

/SP- /VERYSILENT /NORESTART /NOICONS /SUPPRESSMSGBOXES /SUPPORTLEGACYCLIENTAUTH /COMPONENTS="ServerComponent\SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent" /TASKS="UseSuperServerTask,|UseGuardianTask,UseServiceTask,AutoStartTask,|InstallCPLAppletTask,|MenuGroupTask,CopyFbClientToSysTask,CopyFbClientAsGds32Task"


The configuration file is not changed accordingly.

I didn't check on the x86 version of the installer.


BTW: Is that "WireCrypt = enabled" correct? (Should legacy auth be using this?)

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
F.D.Castel added a comment - 10/May/16 06:50 PM
> BTW: Is that "WireCrypt = enabled" correct? (Should legacy auth be using this?)

Please ignore. I didn't read the comment in firebird.conf:

** Note that Wirecrypt should be set to Enabled when running a Firebird server with legacy authentication. **


F.D.Castel added a comment - 12/May/16 01:19 AM
Actually the problem is with the documentation.

File "doc\installation_scripted.txt" is wrong. There is no such option /SUPPORTLEGACYCLIENTAUTH at all in the installer ( https://github.com/FirebirdSQL/firebird/blob/master/builds/install/arch-specific/win32/FirebirdInstall_30.iss )

The correct way to enable legacy auth is to add "EnableLegacyClientAuth" task. So, using these arguments:

/SP- /VERYSILENT /NORESTART /NOICONS /SUPPRESSMSGBOXES /COMPONENTS="ServerComponent\SuperServerComponent,ServerComponent,DevAdminComponent,ClientComponent" /TASKS="UseSuperServerTask,|UseGuardianTask,UseServiceTask,AutoStartTask,|InstallCPLAppletTask,|MenuGroupTask,CopyFbClientToSysTask,CopyFbClientAsGds32Task,EnableLegacyClientAuth"

The installer adds the correct settings to firebird.conf.