From 847eb4a21606966ac5573c6ed6df878eff93841a Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Thu, 10 Sep 2020 13:20:03 +0200 Subject: Rev: 4680 --- mayor-orig/mayor-base/log/mayor-base.rev | 2 +- mayor-orig/mayor-base/www/include/backend/ads/session/base.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mayor-orig/mayor-base') diff --git a/mayor-orig/mayor-base/log/mayor-base.rev b/mayor-orig/mayor-base/log/mayor-base.rev index 3c4089ce..e9f0a693 100644 --- a/mayor-orig/mayor-base/log/mayor-base.rev +++ b/mayor-orig/mayor-base/log/mayor-base.rev @@ -1 +1 @@ -4678 +4680 diff --git a/mayor-orig/mayor-base/www/include/backend/ads/session/base.php b/mayor-orig/mayor-base/www/include/backend/ads/session/base.php index 3a727c3b..edb47858 100644 --- a/mayor-orig/mayor-base/www/include/backend/ads/session/base.php +++ b/mayor-orig/mayor-base/www/include/backend/ads/session/base.php @@ -138,7 +138,7 @@ $userDn = ADSuserAccountToDn($userAccount, $toPolicy); if (in_array($group, $AUTH[$toPolicy]['categories'])) { - if (strpos($userDn, ',ou='.ekezettelen($group).',') !== false) return true; + if (strpos(kisbetus($userDn), ',ou='.ekezettelen($group).',') !== false) return true; # Ha nincs megfelelő ou-ban, akkor nézzük a csoport tagságot - így berakható időszakosan akárki pl a titkárság kategóriába... # else return false; } -- cgit v1.2.3