Update sesman files left after libsesman created

This commit is contained in:
matt335672 2023-03-20 15:08:04 +00:00
parent ea12231247
commit 8044bd1ecf
6 changed files with 12 additions and 12 deletions

View File

@ -31,7 +31,7 @@
#include <grp.h>
#include "env.h"
#include "config.h"
#include "sesman_config.h"
#include "list.h"
#include "log.h"
#include "os_calls.h"

View File

@ -31,11 +31,11 @@
#include "trans.h"
#include "os_calls.h"
#include "scp.h"
#include "config.h"
#include "sesman_config.h"
#include "scp_process.h"
#include "access.h"
#include "auth.h"
#include "sesman_access.h"
#include "sesman_auth.h"
#include "guid.h"
#include "os_calls.h"
#include "session_list.h"
@ -132,7 +132,7 @@ authenticate_and_authorize_connection(struct sesman_con *sc,
"Unexpected status return %d from auth call",
(int)status);
}
else if (!access_login_allowed(username))
else if (!access_login_allowed(&g_cfg->sec, username))
{
status = E_SCP_LOGIN_NOT_AUTHORIZED;
LOG(LOG_LEVEL_INFO, "Username okay but group problem for "

View File

@ -33,8 +33,8 @@
#include "arch.h"
#include "sesman.h"
#include "auth.h"
#include "config.h"
#include "sesman_auth.h"
#include "sesman_config.h"
#include "lock_uds.h"
#include "os_calls.h"
#include "scp.h"

View File

@ -42,8 +42,8 @@
#include "arch.h"
#include "session.h"
#include "auth.h"
#include "config.h"
#include "sesman_auth.h"
#include "sesman_config.h"
#include "env.h"
#include "guid.h"
#include "list.h"

View File

@ -36,8 +36,8 @@
#include "arch.h"
#include "session_list.h"
#include "auth.h"
#include "config.h"
#include "sesman_auth.h"
#include "sesman_config.h"
#include "log.h"
#include "os_calls.h"
#include "sesman.h"

View File

@ -31,7 +31,7 @@
#include "arch.h"
#include "sig.h"
#include "config.h"
#include "sesman_config.h"
#include "log.h"
#include "os_calls.h"
#include "sesman.h"