diff --git a/sesman/Makefile.am b/sesman/Makefile.am index 50425e63..78e00416 100644 --- a/sesman/Makefile.am +++ b/sesman/Makefile.am @@ -15,10 +15,6 @@ if XRDP_DEBUG AM_CPPFLAGS += -DXRDP_DEBUG endif -if SESMAN_NOPAM -AUTH_C = verify_user.c -AUTH_LIB = -lcrypt -else if SESMAN_BSD AUTH_C = verify_user_bsd.c AUTH_LIB = @@ -31,6 +27,10 @@ if SESMAN_KERBEROS AUTH_C = verify_user_kerberos.c AUTH_LIB = -lkrb5 else +if SESMAN_NOPAM +AUTH_C = verify_user.c +AUTH_LIB = -lcrypt +else AUTH_C = verify_user_pam.c AUTH_LIB = -lpam endif diff --git a/sesman/verify_user.c b/sesman/verify_user.c index 175463ea..76918d68 100644 --- a/sesman/verify_user.c +++ b/sesman/verify_user.c @@ -29,6 +29,7 @@ #endif #include "sesman.h" +#include "string_calls.h" #include #include diff --git a/sesman/verify_user_kerberos.c b/sesman/verify_user_kerberos.c index bf011506..6ddc6a80 100644 --- a/sesman/verify_user_kerberos.c +++ b/sesman/verify_user_kerberos.c @@ -30,6 +30,7 @@ #include "arch.h" #include "os_calls.h" +#include "string_calls.h" #include diff --git a/sesman/verify_user_pam_userpass.c b/sesman/verify_user_pam_userpass.c index fc872778..ac5981f4 100644 --- a/sesman/verify_user_pam_userpass.c +++ b/sesman/verify_user_pam_userpass.c @@ -30,6 +30,7 @@ #include "arch.h" #include "os_calls.h" +#include "string_calls.h" #include