summaryrefslogtreecommitdiff
path: root/tests/scripts/xdmcp-server-request-invalid-authentication.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/xdmcp-server-request-invalid-authentication.conf')
-rw-r--r--tests/scripts/xdmcp-server-request-invalid-authentication.conf29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/scripts/xdmcp-server-request-invalid-authentication.conf b/tests/scripts/xdmcp-server-request-invalid-authentication.conf
new file mode 100644
index 00000000..3b3a2aa2
--- /dev/null
+++ b/tests/scripts/xdmcp-server-request-invalid-authentication.conf
@@ -0,0 +1,29 @@
+#
+# Check remote X server sending a request with an invalid authentication is declined
+#
+
+[LightDM]
+start-default-seat=false
+
+[XDMCPServer]
+enabled=true
+
+#?*START-DAEMON
+#?RUNNER DAEMON-START
+#?*WAIT
+
+# Start a remote X server to log in with XDMCP
+#?*START-XSERVER ARGS=":98 -query 127.0.0.1 -nolisten unix"
+#?XSERVER-98 START LISTEN-TCP NO-LISTEN-UNIX
+
+# Request to connect - daemon says OK
+#?*XSERVER-98 SEND-QUERY
+#?XSERVER-98 GOT-WILLING AUTHENTICATION-NAME="" HOSTNAME="" STATUS=""
+
+# Connect with an invalid authentication - daemon declines
+#?*XSERVER-98 SEND-REQUEST ADDRESSES="127.0.0.1" AUTHENTICATION-NAME="NO-SUCH-AUTHENTICATION" AUTHORIZATION-NAMES="MIT-MAGIC-COOKIE-1"
+#?XSERVER-98 GOT-DECLINE STATUS="No matching authentication, server only supports unauthenticated connections" AUTHENTICATION-NAME=""
+
+# Clean up
+#?*STOP-DAEMON
+#?RUNNER DAEMON-EXIT STATUS=0