From b48b26b86975d2166a4da7fc41086facefb3c4f2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 22 Jun 2012 15:02:32 -0500 Subject: Fix problems with Kerberos sockets --- servers/auth_server_lin/src/auth_conn.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'servers/auth_server_lin/src/auth_conn.cpp') diff --git a/servers/auth_server_lin/src/auth_conn.cpp b/servers/auth_server_lin/src/auth_conn.cpp index 41a09f9..013b9bd 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -57,6 +57,13 @@ int AuthSocket::initiateKerberosHandshake() { bool user_authorized = false; if (setUsingKerberos(true) == 0) { + TQ_UINT32 magicnum = MAGIC_NUMBER; + TQ_UINT32 protover = PROTOCOL_VERSION; + + TQDataStream ds(this); + ds << magicnum; + ds << protover; + // RAJA FIXME if (user_authorized == 1) { // Send list of available servers... -- cgit v1.2.3