Update sesman files left after libsesman created
This commit is contained in:
parent
ea12231247
commit
8044bd1ecf
@ -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"
|
||||
|
@ -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 "
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user