mirror of https://github.com/neutrinolabs/xrdp
Merge pull request #1769 from matt335672/issue1768
Fix regressions in auth modules
This commit is contained in:
commit
d8998a0a19
|
@ -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
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#endif
|
||||
|
||||
#include "sesman.h"
|
||||
#include "string_calls.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include "arch.h"
|
||||
#include "os_calls.h"
|
||||
#include "string_calls.h"
|
||||
|
||||
#include <krb5.h>
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
|
||||
#include "arch.h"
|
||||
#include "os_calls.h"
|
||||
#include "string_calls.h"
|
||||
|
||||
#include <security/pam_userpass.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue