summaryrefslogtreecommitdiffstats
path: root/servers/auth_server_lin/src/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 15:54:24 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-17 15:54:24 -0500
commit0e11c4ce6d21acd0139345c19b6341971e679b23 (patch)
tree361adc3f2312984ba2fbf2e3189e41a55d292648 /servers/auth_server_lin/src/main.cpp
parent2c6c71334b9a5a9ee9211e4b389a239273642313 (diff)
downloadulab-0e11c4ce6d21acd0139345c19b6341971e679b23.tar.gz
ulab-0e11c4ce6d21acd0139345c19b6341971e679b23.zip
Write initial SASL/GSSAPI Kerberos classes and server code
Diffstat (limited to 'servers/auth_server_lin/src/main.cpp')
-rw-r--r--servers/auth_server_lin/src/main.cpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/servers/auth_server_lin/src/main.cpp b/servers/auth_server_lin/src/main.cpp
index 2ee23e2..b023cf6 100644
--- a/servers/auth_server_lin/src/main.cpp
+++ b/servers/auth_server_lin/src/main.cpp
@@ -22,6 +22,10 @@
#include <sys/socket.h>
#include <netdb.h>
#include <pwd.h>
+#include <limits.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <stdlib.h>
#include <kapplication.h>
#include <kstartupinfo.h>
@@ -33,6 +37,8 @@
#include <tqdatetime.h>
#include <tqfile.h>
+#include "auth_conn.h"
+
static const char description[] = I18N_NOOP("RemoteFPGA Kerberos Authentication Server");
static const char version[] = "v0.0.1";
@@ -50,15 +56,7 @@ int main(int argc, char *argv[])
KStartupInfo::appStarted();
- //======================================================================================================================================================
- //
- // Server code follows
- //
- //======================================================================================================================================================
-
- // FIXME
-
- //======================================================================================================================================================
+ AuthServer authsvr(0);
+ return app.exec();
- return 0;
}