Hello,

Sorry for my question with minimal information :)

I connect with definition of exact protocol version (13).

Looking to this code:

https://github.com/FirebirdSQL/firebird/blob/05e090539d428cb82f621b8b9bd14b4
3c2445b03/src/remote/server/server.cpp#L1983-L1997

For me - before "break;" should be " returnData = true; "

--------------
case IAuth::AUTH_CONTINUE:
        HANDSHAKE_DEBUG(fprintf(stderr, "AUTH_CONTINUE\n"));
        // try next plugin
        plugins->next();
        if (!plugins->hasData())
        {
                // failed
                setErrorStatus(&status);
                accepted = false;
                loginFail(port->port_login, port->getRemoteId());
                break;
        }
        port->port_srv_auth_block->setPluginName(plugins->name());
        
port->port_srv_auth_block->extractPluginName(&send->p_acpd.p_acpt_plugin);
        
        returnData = true; //<----- YES?
        
        break;
--------------

Regards,
Dmitry Kovalenko
www.ibprovider.com

-----Original Message-----
From: Mark Rotteveel [mailto:m...@lawinegevaar.nl] 
Sent: Sunday, May 12, 2019 9:02 AM
To: firebird-devel@lists.sourceforge.net
Subject: Re: [Firebird-devel] FB3 and op_accept answer

On 11-5-2019 18:39, Kovalenko Dmitry wrote:
> Hello.
> 
> Which conditions required for obtain the op_accept packet during
connection?
> 
> I tried different settings, but see only op_accept_data or 
> op_cond_accept packets.

As far as I'm aware, you will only get op_accept when connecting with
v12 or lower protocols (so when connecting to Firebird 2.5 or earlier).

Mark
--
Mark Rotteveel


Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel



Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to