From f0759d14ca2c258b42e1401c9a686da14ed4f06c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 24 Apr 2013 18:40:54 +0200 Subject: =?UTF-8?q?Adapt=20to=20changes=20in=20lightdm-remote-login-x2go?= =?UTF-8?q?=20(0.0.1.0).=20Expect=20a=20UCCS=20service=20that=20supports?= =?UTF-8?q?=20session=20type=20=C2=BBx2go=C2=BB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/mock_pam.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/mock_pam.c') diff --git a/tests/mock_pam.c b/tests/mock_pam.c index 2da9963..64c503f 100644 --- a/tests/mock_pam.c +++ b/tests/mock_pam.c @@ -1,5 +1,5 @@ /* - * Copyright © 2012 Mike Gabriel . + * Copyright © 2012-2013 Mike Gabriel . * Copyright © 2012 Canonical Ltd. All rights reserved. * * Author(s): Mike Gabriel @@ -39,8 +39,8 @@ int fake_conv (int num_msg, const struct pam_message **msg, response->resp = strdup ("protocol://rhost/dummy"); else if (strcmp((*msg)->msg, "password:") == 0) response->resp = strdup ("password"); - else if (strcmp((*msg)->msg, "domain:") == 0) - response->resp = strdup ("domain"); + else if (strcmp((*msg)->msg, "sessiontype:") == 0) + response->resp = strdup ("sessiontype"); else return PAM_SYMBOL_ERR; /* leaks... */ -- cgit v1.2.3