From 1f8f9ca9434d9e2c0d7e7e061b7177009fd504df Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 29 Jun 2012 01:49:29 -0500 Subject: Convert krb server socket to stateful operation Do the same to the server daemons and the MDI frame client --- servers/auth_server_lin/src/auth_conn.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (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 87eb314..65c131f 100644 --- a/servers/auth_server_lin/src/auth_conn.cpp +++ b/servers/auth_server_lin/src/auth_conn.cpp @@ -106,7 +106,12 @@ void AuthSocket::connectionClosedHandler() { } int AuthSocket::initiateKerberosHandshake() { - if (setUsingKerberos(true) == 0) { + // RAJA FIXME + setUsingKerberos(true); + while (kerberosStatus() == TDEKerberosServerSocket::KerberosInitializing) { + tqApp->processEvents(); + } + if (kerberosStatus() == TDEKerberosServerSocket::KerberosInUse) { TQ_UINT32 magicnum = MAGIC_NUMBER; TQ_UINT32 protover = PROTOCOL_VERSION; -- cgit v1.2.3