summaryrefslogtreecommitdiffstats
path: root/raptorsmiface/libraptorsmiface.c
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-03-03 00:50:44 -0600
committerTimothy Pearson <tpearson@raptorengineering.com>2019-03-03 00:51:02 -0600
commit66ce7effee9dd88958866b65eea06d1d8ee00e17 (patch)
tree23e5247afb1b416590ed2085f4d3c7e7fbf045ce /raptorsmiface/libraptorsmiface.c
parent9b18cc42932e3973d875a21860a3c807fcfa81fb (diff)
downloadxrdp-proprietary-66ce7effee9dd88958866b65eea06d1d8ee00e17.tar.gz
xrdp-proprietary-66ce7effee9dd88958866b65eea06d1d8ee00e17.zip
Add debug warning when maximum session limit is hit for a specified user group
Diffstat (limited to 'raptorsmiface/libraptorsmiface.c')
-rw-r--r--raptorsmiface/libraptorsmiface.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/raptorsmiface/libraptorsmiface.c b/raptorsmiface/libraptorsmiface.c
index bb934b39..6014ae93 100644
--- a/raptorsmiface/libraptorsmiface.c
+++ b/raptorsmiface/libraptorsmiface.c
@@ -705,6 +705,7 @@ bool raptor_sm_sesslimit_reached(char* username) {
mysql_close(conn);
return false;
}
+ dprint("[WARNING] Maximum session limit reached for group '%s'!\n", groupname);
free(groupname);
mysql_close(conn);
return true;