From 70321aa6c6a69c1fba20b0ff2f1ea950123c773a Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 17 Aug 2008 07:17:58 +0000 Subject: [PATCH] add instfiles --- Makefile.am | 3 ++- instfiles/Makefile.am | 8 ++++++++ instfiles/pam.d/Makefile.am | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 instfiles/Makefile.am create mode 100644 instfiles/pam.d/Makefile.am diff --git a/Makefile.am b/Makefile.am index dfeeb464..1b6a5139 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,4 +9,5 @@ SUBDIRS = \ xrdp \ sesman \ keygen \ - docs + docs \ + instfiles diff --git a/instfiles/Makefile.am b/instfiles/Makefile.am new file mode 100644 index 00000000..505ddf30 --- /dev/null +++ b/instfiles/Makefile.am @@ -0,0 +1,8 @@ + +SUBDIRS = \ + pam.d + +startscriptdir=$(sysconfdir)/xrdp + +startscript_DATA = \ + xrdp.sh diff --git a/instfiles/pam.d/Makefile.am b/instfiles/pam.d/Makefile.am new file mode 100644 index 00000000..fb1c4559 --- /dev/null +++ b/instfiles/pam.d/Makefile.am @@ -0,0 +1,19 @@ + +if SESMAN_NOPAM +PAMFILE = +else +if SESMAN_PAMUSERPASS +PAMFILE = +else +if SESMAN_KERBEROS +PAMFILE = +else +PAMFILE = xrdp-sesman +endif +endif +endif + +pamddir=$(sysconfdir)/pam.d + +pamd_DATA = \ + $(PAMFILE)