diff --git a/lam/lib/types/user.inc b/lam/lib/types/user.inc index 34f7b023..f24354df 100644 --- a/lam/lib/types/user.inc +++ b/lam/lib/types/user.inc @@ -809,6 +809,7 @@ class lamUserList extends lamList { $attrs[] = 'userPassword'; $attrs[] = 'userAccountControl'; $attrs[] = 'nsAccountLock'; + $attrs[] = 'accountUnlockTime'; $attrs[] = 'objectClass'; } return $attrs; @@ -872,8 +873,9 @@ class lamUserList extends lamList { $ppolicyLocked = self::isPPolicyLocked($attrs); $windowsLocked = self::isWindowsLocked($attrs); $is389dsDeactivated = self::is389dsDeactivated($attrs); - $partiallyLocked = $unixLocked || $sambaLocked || $ppolicyLocked || $windowsLocked || $is389dsDeactivated; - $fullyLocked = ($unixAvailable || $sambaAvailable || $ppolicyAvailable || $windowsAvailable || $is389dsDeactivated) + $is389dsLocked = self::is389dsLocked($attrs); + $partiallyLocked = $unixLocked || $sambaLocked || $ppolicyLocked || $windowsLocked || $is389dsDeactivated || $is389dsLocked; + $fullyLocked = ($unixAvailable || $sambaAvailable || $ppolicyAvailable || $windowsAvailable || $is389dsDeactivated || $is389dsLocked) && (!$unixAvailable || $unixLocked) && (!$sambaAvailable || $sambaLocked) && (!$ppolicyAvailable || $ppolicyLocked) @@ -920,6 +922,10 @@ class lamUserList extends lamList { } $tipContent .= '