diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-04 15:48:07 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-05-04 15:48:27 +0200 |
commit | 8ad83579d01fa02d68aa81fc49dc6abbb458dc04 (patch) | |
tree | 496b51295ec6cc7e9686308b05e570a4e0253290 /src | |
parent | 17aeb03f42e28d3bc990fe95eb774a2ec2e18720 (diff) | |
download | libpam-freerdp2-8ad83579d01fa02d68aa81fc49dc6abbb458dc04.tar.gz libpam-freerdp2-8ad83579d01fa02d68aa81fc49dc6abbb458dc04.tar.bz2 libpam-freerdp2-8ad83579d01fa02d68aa81fc49dc6abbb458dc04.zip |
include/pam-freerdp2.h: Exclude PAM prompts via public API so they can be used by e.g. Arctica Greeter.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 12 | ||||
-rw-r--r-- | src/pam-freerdp.c | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4eb3aa0..efc3adc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +NULL = + pamlibdir = $(PAMMODULEDIR) pamlib_LTLIBRARIES = pam_freerdp2.la @@ -18,6 +20,11 @@ pam_freerdp2_la_CFLAGS = \ pam_freerdp2_la_LIBADD = \ $(builddir)/libfreerdp2core.la +pam_freerdp2includedir = $(includedir)/security/ +pam_freerdp2include_HEADERS = \ + $(top_srcdir)/include/pam-freerdp2.h \ + $(NULL) + noinst_LTLIBRARIES = \ libfreerdp2core.la @@ -29,9 +36,14 @@ libfreerdp2core_la_CFLAGS = \ $(COVERAGE_CFLAGS) libfreerdp2core_la_LIBADD = \ -lpam +libfreerdp2core_la_CPPFLAGS = \ + -I$(top_srcdir)/include \ + $(NULL) libfreerdp2core_la_LDFLAGS = \ $(COVERAGE_LDFLAGS) + + pkglibexec_PROGRAMS = \ freerdp2-auth-check diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c index 908c54d..e331732 100644 --- a/src/pam-freerdp.c +++ b/src/pam-freerdp.c @@ -36,6 +36,8 @@ #include <security/pam_modutil.h> #include <security/pam_appl.h> +#include "pam-freerdp2.h" + #include "pam-freerdp-children.h" #include "auth-check-path.h" |