Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix v0.10.x regressions in standalone chansrv #3243

Open
wants to merge 7 commits into
base: devel
Choose a base branch
from

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    6b8977b View commit details
    Browse the repository at this point in the history
  2. Use proper define for sesman listen_port size

    The size of the listen_port for sesman cannot exceed
    XRDP_SOCKETS_MAXPATH. We should use this value rather than
    an arbitrary value of 256.
    matt335672 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    8a5e6b4 View commit details
    Browse the repository at this point in the history
  3. Move SCP synch calls from sesman tools to library

    The sesman tools have some private functions to make syncronous calls
    to sesman over SCP. This commit moves these calls to a new module
    scp_sync in libipm so that they can be utilised by other parts of
    xrdp (i.e. chansrv)
    matt335672 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    dd4f535 View commit details
    Browse the repository at this point in the history
  4. Add calls to SCP to request sockdir creation

    THe SCP interface is modified so that a program can connect to
    sesman and ask for the sockdir to be created for the currently
    authenticated user
    matt335672 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    cd5c480 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b2c2623 View commit details
    Browse the repository at this point in the history
  6. Add support for creating sockdir to chansrv

    Chansrv now checks for the user sockdir being present. If it
    isn't, it connects to chansrv and requests it be created.
    
    This also needs the sesman port to be added to the chansrv
    config struct.
    matt335672 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c24a81f View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Add optional UID to DISPLAY() in chansrvport

    The code to determine the socket address of chansrv when using
    a manually started xrdp-chansrv may need some help determining
    the UID of the session.
    
    This commit allows a UID to be optionally specified in the
    DISPLAY() function, if the code is unable to determine the
    UID automatically from the connection parameters.
    
    If a manual chansrvport is entered, xrdp now logs what it is
    connecting to, to assist in debugging.
    matt335672 committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    68207ca View commit details
    Browse the repository at this point in the history