8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

gsec always worked only with SYSDBA - thx to Vlad

This commit is contained in:
alexpeshkoff 2010-07-23 14:01:54 +00:00
parent c688e4f140
commit b02f9aff61

View File

@ -1958,7 +1958,7 @@ void Service::start(USHORT spb_length, const UCHAR* spb_data)
string auth = "-";
auth += TRUSTED_USER_SWITCH;
auth += ' ';
if (flGsecUser)
if (flGsecUser && svc_username != SYSDBA_USER_NAME)
{
// gsec service - gsec will take care itself about security
auth += SYSDBA_USER_NAME;