Add CCP support to xrdp
This allows sesexec to send a reason for a connection close request to xrdp. xrdp is also updated to support server initiated disconnection sequences from [MS-RDPBCGR] 1.3.1.4, along with reporting a reason to the client for the disconnection.
This commit is contained in:
@@ -43,6 +43,8 @@ ccp_close_reason_to_str(enum ccp_close_reason_type n,
|
||||
? "Another connection was made to the session" :
|
||||
(n == CCP_CLOSE_LOGOFF_BY_USER)
|
||||
? "The user logged out of the session" :
|
||||
(n == CCP_CLOSE_SOFTWARE_FAILURE)
|
||||
? "A software failure has occurred" :
|
||||
/* Default */ NULL;
|
||||
|
||||
if (str == NULL)
|
||||
|
||||
@@ -35,7 +35,8 @@ enum ccp_close_reason_type
|
||||
{
|
||||
CCP_CLOSE_RPC_INITIATED_DISCONNECT = 1,
|
||||
CCP_CLOSE_DISCONNECTED_BY_OTHERCONNECTION,
|
||||
CCP_CLOSE_LOGOFF_BY_USER
|
||||
CCP_CLOSE_LOGOFF_BY_USER,
|
||||
CCP_CLOSE_SOFTWARE_FAILURE
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user