Skip to content
Permalink
Browse files

Issue #704: detect pre-authentication banner messages as informationa…

…l (not as error) in plink output
  • Loading branch information...
ansgarbecker committed Oct 13, 2019
1 parent 22b634a commit 1d94724095d79b675f30157138b3983e8ae55ab1
Showing with 3 additions and 1 deletion.
  1. +3 −1 source/dbconnection.pas
@@ -919,7 +919,9 @@ procedure TPlink.Connect;
raise EDbError.Create(_('PLink cancelled'));
end;
end;
end else if ErrorText.StartsWith('Using username ', True) then begin
end else if ErrorText.StartsWith('Using username ', True)
or ErrorText.StartsWith('Pre-authentication banner ', True)
then begin
// See #577 - new plink version sends this informational text to error pipe
FConnection.Log(lcError, 'PLink: '+ErrorText);
SendText(CRLF);

0 comments on commit 1d94724

Please sign in to comment.
You can’t perform that action at this time.