Debugging authident, adding new config file
authorJohn Hodge <[email protected]>
Tue, 27 Dec 2011 10:20:29 +0000 (18:20 +0800)
committerJohn Hodge <[email protected]>
Tue, 27 Dec 2011 10:20:29 +0000 (18:20 +0800)
dispsrv.conf [new file with mode: 0644]
src/server/server.c

diff --git a/dispsrv.conf b/dispsrv.conf
new file mode 100644 (file)
index 0000000..5039948
--- /dev/null
@@ -0,0 +1,14 @@
+#
+# OpenDispense2 Server config file
+#
+daemonise no
+server_port 11020
+cokebank_database cokebank.db
+items_file items.cfg
+
+door_serial_port /dev/ttyS0
+coke_modbus_address 130.95.13.72
+
+trusted_host 192.168.1.39
+trusted_host 192.168.1.34
+trusted_host 192.168.1.37
index 05ee547..2bcd8d3 100644 (file)
@@ -597,6 +597,7 @@ void Server_Cmd_AUTHIDENT(tClient *Client, char *Args)
        // Get username via IDENT
        username = ident_id(Client->Socket, ident_timeout);
        if( !username ) {
+               perror("AUTHIDENT - IDENT timed out");
                sendf(Client->Socket, "403 Authentication failure: IDENT auth timed out\n");
                return ;
        }

UCC git Repository :: git.ucc.asn.au