Native Authentication method is more complex
than the other methods and extends the auth protocol as it has
to send more data forth and back than the old handshake allowed.
Due to the implementation details the
Native Authentication method doesn't use the
fast path of the
Phase, but is only triggered on request as
part of the
Method Switch Request Packet.
Due to implementation details (again) the first packet sent from the client to the server is expected to be either
254 bytes long max or
send the first 254 bytes first, appended by 1 byte with a magic value plus a 2nd packet with rest of the data
All following win-auth-packets don't get split.
To implement the protocol several implementations exist:
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices