Commit Graph

32 Commits

Author SHA1 Message Date
matt335672
fd99653957 Update sesman authentication processing
Update sesman to cope with separate authentication/authorization (AA) and
command processing.

Also, internally users are now tracked by UID rather thn username.
This addresses a problem found by some users using federated naming
services (e.g. Active Directory) where the same user can be referred to
in more than one way. See https://github.com/neutrinolabs/xrdp/issues/1823

The separation of AA in this way allows for multiple attempts to be made
on one connection to get a password right. This addresses MaxLoginRetry
not working (https://github.com/neutrinolabs/xrdp/issues/1739)
2022-12-22 11:35:02 +00:00
matt335672
891efed9ad Remove nested includes from sesman.h
The intention is to improve decoupling of the modules making up
sesman.
2022-12-22 11:35:02 +00:00
matt335672
c0cb03801c Move sesman to new SCP interface 2022-03-15 10:45:00 +00:00
matt335672
8bd597a038 Fix signal handling in sesman 2022-03-04 11:37:45 +00:00
matt335672
fcd991844a sesman : Move global declarations to sesman.h 2022-03-03 17:01:55 +00:00
matt335672
d4c81229ba Module testing now OK 2021-07-27 13:36:34 +01:00
Jay Sorg
738e346f81 sesman: work on moving sesman to trans, v0 scp working 2021-07-27 13:35:43 +01:00
Pavel Roskin
148afd1170 Rename file_loc.h to xrdp_sockets.h, install it
Include xrdp_sockets.h directly, not through headers.
2017-03-28 00:59:16 -07:00
Pavel Roskin
30a7a947b1 Don't include config_ac.h from any header files 2017-03-04 00:52:34 -08:00
Jay Sorg
4e0d0f3ba0 sesman: remove the thread 2015-12-11 20:41:17 -08:00
Jay Sorg
d91de3c1cc sesman: remove rfbDes calls 2015-08-18 17:33:13 -07:00
Jay Sorg
c6fa03102f copyright year update 2013-06-08 10:51:53 -07:00
Laxmikant Rashinkar
1123323fda o moved from GNU General Public License to Apache License, Version 2.0
o applied new coding standards to all .c files
o moved some files around
2012-09-19 20:51:34 -07:00
jsorg71
23ffdb0c5f autotools fix and file_loc.h simplified 2009-05-19 04:23:49 +00:00
jsorg71
b5c0a07657 use the thread_calls in common the mutexes and semaphores 2009-01-15 07:59:47 +00:00
jsorg71
29dbf2f7bf added HAVE_CONFIG_H 2008-08-12 07:13:43 +00:00
jsorg71
61ca96af62 include file_loc.h 2008-05-06 09:42:31 +00:00
jsorg71
cd57d1b689 update copyright year 2008-01-30 07:53:57 +00:00
ilsimo
f06f9591bc fixing sessvc starting code and removing SESMAN_SESSVC_FILE definition 2007-09-17 15:28:51 +00:00
ilsimo
f22b5b42a7 making libscp a real library
some fixes in configuration options
2007-05-06 21:02:25 +00:00
ilsimo
9c4b9f8390 added sessvc as session supervisor
first code for password changing
2007-04-07 16:20:08 +00:00
jsorg71
6886ba4556 copyright year update 2007-01-12 05:07:07 +00:00
ilsimo
71e7fc734d first try for a scp protocol layer (aka libscp) 2006-10-15 13:08:08 +00:00
ilsimo
fda836169e making sesman multithread 2006-07-13 20:15:21 +00:00
ilsimo
343f9361f2 preparing sources to add new sesman control protocol 2006-05-26 13:10:14 +00:00
ilsimo
013ab3c61f updated code documentation 2006-05-25 20:34:32 +00:00
jsorg71
b1b3ff9e7d year update and moved some stuff to os_calls.c 2006-04-23 21:54:12 +00:00
ilsimo
721ca9efae adding some access control features 2005-12-15 20:41:03 +00:00
ilsimo
c401d58c74 fixed check for pid file and delete of pid file on exit 2005-11-16 12:27:08 +00:00
ilsimo
e7dbdea767 Adding logging functions and adding log options in config files 2005-10-23 21:47:17 +00:00
ilsimo
a0507a3381 Splitted sesman.c in more files.
Added sig.*, session.*, env.*, auth.h, tcp.*
2005-10-06 19:21:18 +00:00
jsorg71
19d37b565c added user specific window manager startup script and SIGUP to reload sesman configuration 2005-09-25 03:30:09 +00:00