FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.26k stars 217 forks source link

/SUPPORTLEGACYCLIENTAUTH not working on 3.0 x64 installer [CORE5235] #5514

Open firebird-automations opened 8 years ago

firebird-automations commented 8 years ago

Submitted by: F.D.Castel (fdcastel)

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?)

firebird-automations commented 8 years ago
Modified by: @dyemanov assignee: Paul Reeves \[ paul\_reeves \]
firebird-automations commented 8 years ago

Commented by: F.D.Castel (fdcastel)

> 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. **

firebird-automations commented 8 years ago

Commented by: F.D.Castel (fdcastel)

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.