diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-10 21:17:10 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-11 07:07:31 +0700 |
commit | d4976749397fedb9a5e30b80e74b994865415622 (patch) | |
tree | a66b3f987763171e7d9538a3e0b6a250c78e8574 /system/xrdp/xrdp-v0.6.1_disabled.diff | |
parent | 3c4b17c7e851a3f828a6ee964e6b960a23d5ed83 (diff) |
system/xrdp: Updated for version 0.9.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/xrdp/xrdp-v0.6.1_disabled.diff')
-rw-r--r-- | system/xrdp/xrdp-v0.6.1_disabled.diff | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/system/xrdp/xrdp-v0.6.1_disabled.diff b/system/xrdp/xrdp-v0.6.1_disabled.diff deleted file mode 100644 index 42855c89d3..0000000000 --- a/system/xrdp/xrdp-v0.6.1_disabled.diff +++ /dev/null @@ -1,26 +0,0 @@ -From 6f195b64890e08d3fbbbb792f45a7d94d641c914 Mon Sep 17 00:00:00 2001 -From: mancha <mancha1 AT zoho DOT com> -Date: Wed, 18 Feb 2015 -Subject: Fix inactive account determination - -sesman: fix so shadow accounts aren't incorrectly classified "inactive" -as might happen if sp_max/sp_inact fields are empty or sp_lstchg=0. - ---- - sesman/verify_user.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - ---- a/sesman/verify_user.c -+++ b/sesman/verify_user.c -@@ -323,7 +323,10 @@ auth_account_disabled(struct spwd* stp) - return 1; - } - -- if (today >= (stp->sp_lstchg+stp->sp_max+stp->sp_inact)) -+ if ((stp->sp_max >= 0) && -+ (stp->sp_inact >= 0) && -+ (stp->sp_lstchg > 0) && -+ (today >= (stp->sp_lstchg + stp->sp_max + stp->sp_inact))) - { - return 1; - } |