You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
599 B
38 lines
599 B
EXTRA_DIST = \
|
|
xrdp-sesman.common \
|
|
xrdp-sesman.other \
|
|
xrdp-sesman.password-auth
|
|
|
|
CLEANFILES = xrdp-sesman
|
|
|
|
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)
|
|
|
|
xrdp-sesman:
|
|
if test -e /etc/pam.d/password-auth; then \
|
|
pamrules=xrdp-sesman.password-auth; \
|
|
else \
|
|
if test -e /etc/pam.d/common-auth; then \
|
|
pamrules=xrdp-sesman.common; \
|
|
else \
|
|
pamrules=xrdp-sesman.other; \
|
|
fi; \
|
|
fi; \
|
|
$(LN_S) $(srcdir)/$$pamrules $@
|