diff options
author | Ted Gould <ted@gould.cx> | 2012-09-19 23:32:08 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-09-19 23:32:08 -0500 |
commit | 74540195ac67a579ba0f8a2479cfcadb6bee6cc8 (patch) | |
tree | 7997177eef3cec2623d79289569f50b93df7dcdc /tests | |
parent | 4751bcf4c80c1cfb231b3a52b376cd947fd35eb0 (diff) | |
download | libpam-x2go-74540195ac67a579ba0f8a2479cfcadb6bee6cc8.tar.gz libpam-x2go-74540195ac67a579ba0f8a2479cfcadb6bee6cc8.tar.bz2 libpam-x2go-74540195ac67a579ba0f8a2479cfcadb6bee6cc8.zip |
Add a set cred call like LightDM does it
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-freerdp-wrapper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc index c9d221e..cfe86de 100644 --- a/tests/test-freerdp-wrapper.cc +++ b/tests/test-freerdp-wrapper.cc @@ -66,6 +66,8 @@ namespace { EXPECT_EQ (PAM_SUCCESS, pam_sm_authenticate (pamh, 0, 0, argv)); EXPECT_EQ (PAM_SUCCESS, + pam_sm_setcred (pamh, 0, 0, argv)); + EXPECT_EQ (PAM_SUCCESS, pam_sm_open_session (pamh, 0, 0, argv)); EXPECT_EQ (PAM_SUCCESS, pam_sm_close_session (pamh, 0, 0, argv)); |