mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Resolve CORE-6011 - Remove option to support addition of legacy_auth from windows installer.
This commit is contained in:
parent
c9cb780dc9
commit
2af22cbb7b
@ -365,7 +365,6 @@ Name: AutoStartTask; Description: {cm:AutoStartTask}; Components: ServerComponen
|
||||
;Copying of client libs to <sys>
|
||||
Name: CopyFbClientToSysTask; Description: {cm:CopyFbClientToSysTask}; Components: ClientComponent; MinVersion: 4,4; Check: ShowCopyFbClientLibTask;
|
||||
Name: CopyFbClientAsGds32Task; Description: {cm:CopyFbClientAsGds32Task}; Components: ClientComponent; MinVersion: 4,4; Flags: Unchecked; Check: ShowCopyGds32Task;
|
||||
Name: EnableLegacyClientAuth; Description: {cm:EnableLegacyClientAuth}; Components: ClientComponent; MinVersion: 4,4; Flags: Unchecked; Check: ConfigureAuthentication;
|
||||
|
||||
|
||||
[Run]
|
||||
@ -854,9 +853,6 @@ begin
|
||||
AStringList := TStringList.create;
|
||||
with AStringList do begin
|
||||
Add( 'create user ' + GetAdminUserName + ' password ''' + GetAdminUserPassword + ''' using plugin Srp;' );
|
||||
if WizardIsTaskSelected('EnableLegacyClientAuth') then
|
||||
if ( ( uppercase( GetAdminUserName ) <> 'SYSDBA' ) or ( GetAdminUserPassword <> 'masterkey' ) ) then
|
||||
Add( 'create or alter user ' + GetAdminUserName + ' password ''' + GetAdminUserPassword + ''' using plugin Legacy_UserManager;' );
|
||||
Add( 'commit;' ); //Technically exit implies a commit so this not necessary. OTOH, explicitly committing makes for more readable code.
|
||||
Add( 'exit;' );
|
||||
SaveToFile( Tempdir +'\temp.sql' );
|
||||
@ -930,8 +926,6 @@ procedure UpdateFirebirdConf;
|
||||
// Update firebird conf.
|
||||
// If user has deselected the guardian we should update firebird.conf accordingly.
|
||||
// We also test if user has asked for classic or super server
|
||||
// If EnableLegacyClientAuth has ben selected we update the file.......
|
||||
// Otherwise we leave the file unchanged.
|
||||
begin
|
||||
//There is no simple, foolproof and futureproof way to check whether
|
||||
//we are doing a server install, so the easiest way is to see if a
|
||||
@ -957,13 +951,6 @@ begin
|
||||
if WizardIsTaskSelected('UseSuperServerTask') then
|
||||
ReplaceLine(GetAppPath+'\firebird.conf','ServerMode = ','ServerMode = Super','#');
|
||||
|
||||
if WizardIsTaskSelected('EnableLegacyClientAuth') then begin
|
||||
ReplaceLine(GetAppPath+'\firebird.conf','AuthServer = ','AuthServer = Legacy_Auth, Srp, Win_Sspi','#');
|
||||
ReplaceLine(GetAppPath+'\firebird.conf','AuthClient = ','AuthClient = Legacy_Auth, Srp, Win_Sspi','#');
|
||||
ReplaceLine(GetAppPath+'\firebird.conf','UserManager = ','UserManager = Legacy_UserManager, Srp','#');
|
||||
ReplaceLine(GetAppPath+'\firebird.conf','WireCrypt = ','WireCrypt = enabled','#');
|
||||
end;
|
||||
|
||||
end;
|
||||
|
||||
end;
|
||||
|
@ -37,20 +37,6 @@ fbclient.dll and gds32.dll are removed from <system32>.
|
||||
See the UNINSTALL section below for more info on this.
|
||||
|
||||
|
||||
|
||||
Deployment of gds32.dll
|
||||
-----------------------
|
||||
|
||||
This compatibility library is no longer deployed into
|
||||
the windows system directory by default. We cannot
|
||||
guarantee that the required MSVC runtimes will be
|
||||
available. However it remains an option at install
|
||||
time, along with system deployment of fbclient.dll.
|
||||
|
||||
Be sure to check that your target system has the
|
||||
appropriate MSVC12 runtimes if you use these options.
|
||||
|
||||
|
||||
Installation of the Guardian
|
||||
----------------------------
|
||||
|
||||
@ -64,11 +50,10 @@ it is offered but not selected by default.
|
||||
Re-installation of Firebird
|
||||
---------------------------
|
||||
|
||||
The binary installer does its best to detect and
|
||||
preserve a previous install. If the installer detects
|
||||
firebird.conf or security4.fdb it will not offer the
|
||||
option to install legacy_auth. Neither will it offer
|
||||
the option to set the SYSDBA username and password.
|
||||
The binary installer does its best to detect and
|
||||
preserve a previous install. If the installer detects
|
||||
firebird.conf or security4.fdb it will not offer the
|
||||
option to set the SYSDBA username and password.
|
||||
|
||||
|
||||
Known installation problems
|
||||
|
@ -95,7 +95,6 @@ HELP
|
||||
AutoStartTask
|
||||
CopyFbClientToSysTask
|
||||
CopyFbClientAsGds32Task
|
||||
EnableLegacyClientAuth
|
||||
|
||||
|
||||
Only the specified tasks (and their children) will be selected; the rest
|
||||
@ -167,9 +166,8 @@ they will probably be combined with options such as /SILENT, /LOG,
|
||||
1/ Full server install of super server architecture
|
||||
o Change SYSDBA password from default masterkey,
|
||||
o deploy gds32 to <SYS>
|
||||
o enable legacy authentication for older clients
|
||||
|
||||
/MERGETASKS="CopyFbClientAsGds32Task,EnableLegacyClientAuth" /SYSDBAPASSWORD="mypassword"
|
||||
/MERGETASKS="CopyFbClientAsGds32Task" /SYSDBAPASSWORD="mypassword"
|
||||
|
||||
2/ Deploy Classic Server and keep other default tasks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user