diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-29 01:49:29 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-29 01:49:29 -0500 |
commit | 1f8f9ca9434d9e2c0d7e7e061b7177009fd504df (patch) | |
tree | 1b793132751d6bce670bf853f70fd1f34721eecc /servers/auth_server_lin/src/auth_conn.cpp | |
parent | e89735d72ae3b320c33f7ad95c3cbc9ea6d42f6c (diff) | |
download | ulab-1f8f9ca9434d9e2c0d7e7e061b7177009fd504df.tar.gz ulab-1f8f9ca9434d9e2c0d7e7e061b7177009fd504df.zip |
Convert krb server socket to stateful operation
Do the same to the server daemons and the MDI frame client
Diffstat (limited to 'servers/auth_server_lin/src/auth_conn.cpp')
-rw-r--r-- | servers/auth_server_lin/src/auth_conn.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
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; |