Some fixes to compile properly since this version has change a lot from 0.6.1
This commit is contained in:
parent
618ca587a5
commit
803af49a04
@ -95,7 +95,7 @@ AC_CHECK_MEMBER([struct in6_addr.s6_addr],
|
|||||||
[AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
|
[AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
|
||||||
[#include <arpa/inet.h>])
|
[#include <arpa/inet.h>])
|
||||||
|
|
||||||
if test "x$enable_pam" != "xyes"
|
if test "x$enable_pam" != "xyes" || test "x$bsd" = "xtrue"
|
||||||
then
|
then
|
||||||
AC_DEFINE([USE_NOPAM],1,[Disable PAM])
|
AC_DEFINE([USE_NOPAM],1,[Disable PAM])
|
||||||
fi
|
fi
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @file verify_user_user.c
|
* @file verify_user_bsd.c
|
||||||
* @brief Authenticate user using BSD password system
|
* @brief Authenticate user using BSD password system
|
||||||
* @author Renaud Allard
|
* @author Renaud Allard
|
||||||
*
|
*
|
||||||
@ -45,7 +45,7 @@ extern struct config_sesman* g_cfg; /* in sesman.c */
|
|||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* returns boolean */
|
/* returns boolean */
|
||||||
long DEFAULT_CC
|
long DEFAULT_CC
|
||||||
auth_userpass(char* user, char* pass)
|
auth_userpass(char *user, char *pass, int *errorcode)
|
||||||
{
|
{
|
||||||
int ret = auth_userokay(user, NULL, "auth-xrdp", pass);
|
int ret = auth_userokay(user, NULL, "auth-xrdp", pass);
|
||||||
return ret;
|
return ret;
|
||||||
@ -86,6 +86,12 @@ auth_change_pwd(char* user, char* newpwd)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int DEFAULT_CC
|
||||||
|
auth_stop_session(long in_val)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @brief Password encryption
|
* @brief Password encryption
|
||||||
|
Loading…
Reference in New Issue
Block a user