aboutsummaryrefslogtreecommitdiff
path: root/src/pam-freerdp.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-20 08:39:53 +0000
committerTarmac <>2012-09-20 08:39:53 +0000
commit6af8fab5b1df788bc57e5d174fc090824c9c0065 (patch)
tree877c48d3bef1123accafba2caa953d73bc2002c5 /src/pam-freerdp.c
parent84fb97ec2326559940bafd6f7a7b1370fb679d86 (diff)
parent74540195ac67a579ba0f8a2479cfcadb6bee6cc8 (diff)
downloadlibpam-x2go-6af8fab5b1df788bc57e5d174fc090824c9c0065.tar.gz
libpam-x2go-6af8fab5b1df788bc57e5d174fc090824c9c0065.tar.bz2
libpam-x2go-6af8fab5b1df788bc57e5d174fc090824c9c0065.zip
Adding a testing framework. Approved by Albert Astals Cid, jenkins.
Diffstat (limited to 'src/pam-freerdp.c')
-rw-r--r--src/pam-freerdp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 607e215..fbfe182 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -34,6 +34,8 @@
#include <security/pam_modutil.h>
#include <security/pam_appl.h>
+#include "auth-check-path.h"
+
#define PAM_TYPE_DOMAIN 1234
#define ALL_GOOD_SIGNAL "Ar, ready to authenticate cap'n"
@@ -238,7 +240,7 @@ pam_sm_authenticate (pam_handle_t *pamh, int flags, int argc, const char **argv)
char * args[5];
- args[0] = AUTH_CHECK;
+ args[0] = (char *)auth_check_path;
args[1] = rhost;
args[2] = ruser;
args[3] = rdomain;