xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 5 and Version 6 of Authentication


Ignore:
Timestamp:
11/07/13 04:54:06 (7 years ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Authentication

    v5 v6  
    11= Authentication =
    22
     3{{{#!div class="box"
     4== Introduction ==
    35The documentation here applies to version 0.11 and later. Older versions only support the "{{{--password-file}}}" authentication.
    46
     
    911* when making the unix domain socket accessible to other users
    1012* when using the [/wiki/ProxyServer Proxy Server] mode
     13}}}
    1114
     15{{{#!div class="box"
    1216== Modules ==
    1317The authentication module used is specified using the "{{{--auth=MODULE}}}" switch.
     
    2024* [/browser/xpra/trunk/src/xpra/server/auth/win32_auth.py win32]: win32security authentication
    2125* {{{sys}}} is a virtual module which will choose win32 or pam
    22 
    23 == File Authentication ==
    24 
    25 When using the "{{{file_auth}}}" module, one must specify the extra command line argument "{{{--password-file=FILENAME}}}" to point to the authentication data.
    26 
    27 When this file is used without the [/wiki/ProxyServer Proxy Server], one can simply place the password to use directly in that file.
    28 
    29 
    30 == File Authentication with the [/wiki/ProxyServer Proxy Server] ==
    31 
    32 When used with the proxy server, the password file should contain one user per line using the format:
    33 {{{
    34 USERNAME|PASSWORD|UID|GID|SESSION_URI|ENV_VARS|SESSION_OPTIONS
    3526}}}
    36 
    37 Details:
    38 * {{{USERNAME}}} and {{{PASSWORD}}} are used for authentication
    39 * {{{UID}}} and {{{GID}}} are used for the new proxy process (and can be set to {{{nobody}}})
    40 * {{{SESSION_URI}}} is the usual xpra connection string of the actual target session, ie:
    41 {{{
    42 tcp:HOST:PORT
    43 }}}
    44  or
    45  {{{
    46 ssh:HOST:DISPLAY
    47 }}}
    48 * {{{ENV_VARS}}} is an optional attribute which can contain ";" separated name-value pairs which will affect the environment of the new process spawned after authentication.
    49 * {{{SESSION_OPTIONS}}} is an optional attribute which can contain ";" separated name-value pairs which will override the client's connection settings and apply to the connection between the proxy and the real server only.