summaryrefslogtreecommitdiffstats
path: root/sesman/scp_v1_mng.c
Commit message (Collapse)AuthorAgeFilesLines
* xrdp-sesadmin: fix error when there are no sessionsBen Cohen2017-07-061-8/+2
| | | | | | | | | | | | | | | | | | Test case: On a system running xrdp with no sessions running run: xrdp-sesadmin -u=<user> -p=<password> -c=list Expected result: "No sessions." (ignoring debug output) Observed result: "Error getting session list." In the SCP_SERVER_STATE_MNG_LISTREQ case in scp_v1_mng_process() if there are no sessions it ends the scp session, which causes an error in the client. In commit 0017081d the client was changed to report errors, giving the result above. Fix by calling scp_v1s_mng_list_sessions() from scp_v1_mng_process() even when there are no sessions, and if so sending a packet with a count of zero so that the client gets what it expects.
* Eliminate APP_CC and DEFAULT_CCPavel Roskin2017-03-141-1/+1
|
* Include config_ac.h from all source filesPavel Roskin2017-03-041-0/+4
|
* Fix memory leak: free session dataPavel Roskin2016-10-211-3/+0
| | | | | | | Call scp_session_destroy() in the functions that call scp_session_create() and nowhere else. As found by Valgrind, the session data is not freed if the session is created successfully.
* Fix warnings detected by -Wwrite-stringsPavel Roskin2016-07-081-2/+2
|
* copyright year updateJay Sorg2013-06-081-1/+1
|
* Display PAM error in gateway setup, use domain name as IP/DNS, changed how ↵ArvidNorr2013-01-161-1/+1
| | | | the socket is closed
* o moved from GNU General Public License to Apache License, Version 2.0Laxmikant Rashinkar2012-09-191-109/+109
| | | | | o applied new coding standards to all .c files o moved some files around
* Initial syslog support in XRDPnorrarvid2012-05-271-11/+11
|
* remove some dead codejsorg712009-12-261-5/+0
|
* g_thread_sck set outside of lock fix and g_cfg should always be a pointer to ↵jsorg712009-09-281-1/+1
| | | | a struct
* added first management codeilsimo2008-09-111-0/+145
added a rough management tool fixes in session.c