diff options
Diffstat (limited to 'tests/scripts/xdmcp-server-xdm-authentication-no-key.conf')
-rw-r--r-- | tests/scripts/xdmcp-server-xdm-authentication-no-key.conf | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/scripts/xdmcp-server-xdm-authentication-no-key.conf b/tests/scripts/xdmcp-server-xdm-authentication-no-key.conf new file mode 100644 index 00000000..567be1e7 --- /dev/null +++ b/tests/scripts/xdmcp-server-xdm-authentication-no-key.conf @@ -0,0 +1,33 @@ +# +# Check that a remote X server can't login if requires XDM authentication and we're not configured for it +# + +[LightDM] +start-default-seat=false + +[XDMCPServer] +enabled=true + +[Seat:*] +user-session=default +autologin-user=have-password1 + +#?*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 with XDM authentication - daemon says we don't do that +#?*XSERVER-98 SEND-QUERY AUTHENTICATION-NAMES="XDM-AUTHENTICATION-1" +#?XSERVER-98 GOT-UNWILLING HOSTNAME="" STATUS="No matching authentication" + +# Try anyway - daemon rejects +#?*XSERVER-98 SEND-REQUEST ADDRESSES="127.0.0.1" AUTHENTICATION-NAME="XDM-AUTHENTICATION-1" AUTHORIZATION-NAME="XDM-AUTHORIZATION-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 |