diff options
author | ArvidNorr <norrarvid@gmail.com> | 2013-01-31 15:19:58 +0100 |
---|---|---|
committer | ArvidNorr <norrarvid@gmail.com> | 2013-01-31 15:19:58 +0100 |
commit | 876f356dad387d3d9b1a8382c0115857ca605e54 (patch) | |
tree | a05629ec327bfcf56841609c66b992ddee9d77b1 /sesman/access.c | |
parent | 0770f217fa314cd0ae2546e2b758fbbaa3e07e09 (diff) | |
download | xrdp-proprietary-876f356dad387d3d9b1a8382c0115857ca605e54.tar.gz xrdp-proprietary-876f356dad387d3d9b1a8382c0115857ca605e54.zip |
deny access if group is undefined
Diffstat (limited to 'sesman/access.c')
-rw-r--r-- | sesman/access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sesman/access.c b/sesman/access.c index 00c9c381..692575e5 100644 --- a/sesman/access.c +++ b/sesman/access.c @@ -42,7 +42,7 @@ access_login_allowed(char *user) return 0; } - if (0 == g_cfg->sec.ts_users_enable) + if ((0 == g_cfg->sec.ts_users_enable) && (0==g_cfg->sec.ts_always_group_check)) { LOG_DBG("Terminal Server Users group is disabled, allowing authentication", 1); @@ -57,7 +57,7 @@ access_login_allowed(char *user) if (g_cfg->sec.ts_users == gid) { - LOG_DBG("ts_users is user's primary group"); + log_message(LOG_LEVEL_DEBUG,"ts_users is user's primary group"); return 1; } |