summaryrefslogtreecommitdiffstats
path: root/servers/fpga_server_lin
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-29 01:49:29 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-29 01:49:29 -0500
commit1f8f9ca9434d9e2c0d7e7e061b7177009fd504df (patch)
tree1b793132751d6bce670bf853f70fd1f34721eecc /servers/fpga_server_lin
parente89735d72ae3b320c33f7ad95c3cbc9ea6d42f6c (diff)
downloadulab-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/fpga_server_lin')
-rw-r--r--servers/fpga_server_lin/src/fpga_conn.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/servers/fpga_server_lin/src/fpga_conn.cpp b/servers/fpga_server_lin/src/fpga_conn.cpp
index 4c6f65e..b1b0451 100644
--- a/servers/fpga_server_lin/src/fpga_conn.cpp
+++ b/servers/fpga_server_lin/src/fpga_conn.cpp
@@ -88,7 +88,12 @@ void FPGASocket::connectionClosedHandler() {
}
int FPGASocket::initiateKerberosHandshake() {
- if (setUsingKerberos(true) == 0) {
+ // RAJA FIXME
+ setUsingKerberos(true);
+ while (kerberosStatus() == TDEKerberosServerSocket::KerberosInitializing) {
+ tqApp->processEvents();
+ }
+ if (kerberosStatus() == TDEKerberosServerSocket::KerberosInUse) {
TQDataStream ds(this);
ds << TQString("OK");