summaryrefslogtreecommitdiffstats
path: root/sesman/libscp/libscp_session.c
diff options
context:
space:
mode:
authornorrarvid <norrarvid@gmail.com>2012-05-31 16:57:17 +0200
committernorrarvid <norrarvid@gmail.com>2012-05-31 16:57:17 +0200
commit10fdc5c17f7aec2df8885d2cf7354f6681af76f6 (patch)
treeb6f06d3c08430ebee080c36a5d9f1744a87ee575 /sesman/libscp/libscp_session.c
parent60b052965634be151d88f7011149d0edc71f23d8 (diff)
downloadxrdp-proprietary-10fdc5c17f7aec2df8885d2cf7354f6681af76f6.tar.gz
xrdp-proprietary-10fdc5c17f7aec2df8885d2cf7354f6681af76f6.zip
separate pam authentication for gateways
Diffstat (limited to 'sesman/libscp/libscp_session.c')
-rw-r--r--sesman/libscp/libscp_session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sesman/libscp/libscp_session.c b/sesman/libscp/libscp_session.c
index 8ac94d25..5c2a12a3 100644
--- a/sesman/libscp/libscp_session.c
+++ b/sesman/libscp/libscp_session.c
@@ -60,6 +60,9 @@ scp_session_set_type(struct SCP_SESSION* s, tui8 type)
case SCP_SESSION_TYPE_XRDP:
s->type = SCP_SESSION_TYPE_XRDP;
break;
+ case SCP_GW_AUTHENTICATION:
+ s->type = SCP_GW_AUTHENTICATION;
+ break;
case SCP_SESSION_TYPE_MANAGE:
s->type = SCP_SESSION_TYPE_MANAGE;
s->mng = (struct SCP_MNG_DATA*)g_malloc(sizeof(struct SCP_MNG_DATA), 1);