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
|
AM_CPPFLAGS += -DXRDP_DEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SESMAN_NOPAM
|
|
||||||
AUTH_C = verify_user.c
|
|
||||||
AUTH_LIB = -lcrypt
|
|
||||||
else
|
|
||||||
if SESMAN_BSD
|
if SESMAN_BSD
|
||||||
AUTH_C = verify_user_bsd.c
|
AUTH_C = verify_user_bsd.c
|
||||||
AUTH_LIB =
|
AUTH_LIB =
|
||||||
@ -31,6 +27,10 @@ if SESMAN_KERBEROS
|
|||||||
AUTH_C = verify_user_kerberos.c
|
AUTH_C = verify_user_kerberos.c
|
||||||
AUTH_LIB = -lkrb5
|
AUTH_LIB = -lkrb5
|
||||||
else
|
else
|
||||||
|
if SESMAN_NOPAM
|
||||||
|
AUTH_C = verify_user.c
|
||||||
|
AUTH_LIB = -lcrypt
|
||||||
|
else
|
||||||
AUTH_C = verify_user_pam.c
|
AUTH_C = verify_user_pam.c
|
||||||
AUTH_LIB = -lpam
|
AUTH_LIB = -lpam
|
||||||
endif
|
endif
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sesman.h"
|
#include "sesman.h"
|
||||||
|
#include "string_calls.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include "arch.h"
|
#include "arch.h"
|
||||||
#include "os_calls.h"
|
#include "os_calls.h"
|
||||||
|
#include "string_calls.h"
|
||||||
|
|
||||||
#include <krb5.h>
|
#include <krb5.h>
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include "arch.h"
|
#include "arch.h"
|
||||||
#include "os_calls.h"
|
#include "os_calls.h"
|
||||||
|
#include "string_calls.h"
|
||||||
|
|
||||||
#include <security/pam_userpass.h>
|
#include <security/pam_userpass.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user