On initial connection from the client container, the master server must negotiate a successful Kerberos connection. Once this connection is established, the server must transmit a string containing the case-sensitive text "OK". The server has now fully established a secure bidirectional channel to the client and may proceeed to use the channel for any purpose. If the server wishes to reject the connection, for example due to a hardware failure, it must transmit a string containing the case-sensitive text "ERRNOTAVL", after which the server should close the client connection.
printf("[DEBUG] Connection failed to %s:%d for user %s@%s due to Kerberos failure\n\r",serviceHostName.ascii(),servicePort,m_authenticatedUserName.ascii(),m_authenticatedRealmName.ascii());fflush(stdout);
printf("[DEBUG] Connection failed to %s:%d for user %s@%s\n\r",serviceHostName.ascii(),servicePort,m_authenticatedUserName.ascii(),m_authenticatedRealmName.ascii());fflush(stdout);