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)