diff options
author | Ted Gould <ted@gould.cx> | 2012-09-19 16:42:55 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-09-19 16:42:55 -0500 |
commit | d7705fcc79144eb895a8ebc04dd5561f3c8afd70 (patch) | |
tree | d9ff52bd37fe2243aea44518bb794c096f7c098e /src/pam-freerdp.c | |
parent | b3857b0cb9d0ad808a40b39ae099feaac82d8b2b (diff) | |
download | libpam-x2go-d7705fcc79144eb895a8ebc04dd5561f3c8afd70.tar.gz libpam-x2go-d7705fcc79144eb895a8ebc04dd5561f3c8afd70.tar.bz2 libpam-x2go-d7705fcc79144eb895a8ebc04dd5561f3c8afd70.zip |
Set everything up so that the auth check binary can be different in the tests
Diffstat (limited to 'src/pam-freerdp.c')
-rw-r--r-- | src/pam-freerdp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c index ebc98af..4891846 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" @@ -226,7 +228,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; |