Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
firebird-automations opened this issue May 10, 2016 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

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
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Paul Reeves [ paul_reeves ]

@firebird-automations
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants