diff options
| author | ArvidNorr <norrarvid@gmail.com> | 2013-01-31 07:17:42 -0800 |
|---|---|---|
| committer | ArvidNorr <norrarvid@gmail.com> | 2013-01-31 07:17:42 -0800 |
| commit | 9aa0cb4e61eeb253a9a1177f1162eb5289130e96 (patch) | |
| tree | 2b1be914a65edd952cf3ba22ef8d338be28e83a5 /sesman/config.c | |
| parent | ffc7e7ff270134c7f5c73f8f86cac81038e8fee3 (diff) | |
| parent | 876f356dad387d3d9b1a8382c0115857ca605e54 (diff) | |
| download | xrdp-proprietary-9aa0cb4e61eeb253a9a1177f1162eb5289130e96.tar.gz xrdp-proprietary-9aa0cb4e61eeb253a9a1177f1162eb5289130e96.zip | |
Merge pull request #58 from ArvidNorr/pam-cont
PAM additions mostly for a gateway situation
Diffstat (limited to 'sesman/config.c')
| -rw-r--r-- | sesman/config.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sesman/config.c b/sesman/config.c index 9938249f..e2131c14 100644 --- a/sesman/config.c +++ b/sesman/config.c @@ -286,13 +286,18 @@ config_read_security(int file, struct config_security *sc, sc->ts_admins = gid; } } + if (0 == g_strcasecmp(buf, SESMAN_CFG_SEC_ALWAYSGROUPCHECK)) + { + sc->ts_always_group_check = text2bool((char *)list_get_item(param_v, i)); + } } /* printing security config */ g_printf("security configuration:\r\n"); g_printf("\tAllowRootLogin: %i\r\n", sc->allow_root); g_printf("\tMaxLoginRetry: %i\r\n", sc->login_retry); - + g_printf("\tAlwaysGroupCheck: %i\r\n", sc->ts_always_group_check); + if (sc->ts_users_enable) { g_printf("\tTSUsersGroup: %i\r\n", sc->ts_users); |
