From 04562e6d4abf075ecf9c12b2e3bed53aeb94d35e Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 18 Oct 2019 17:48:50 -0700 Subject: [PATCH] Added 4260352 to ldapsync enabled account constraint --- app/Console/Commands/LdapSync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/LdapSync.php b/app/Console/Commands/LdapSync.php index c59fc0c00a..d3bc155266 100755 --- a/app/Console/Commands/LdapSync.php +++ b/app/Console/Commands/LdapSync.php @@ -189,7 +189,7 @@ class LdapSync extends Command // Sync activated state for Active Directory. if ( array_key_exists('useraccountcontrol', $results[$i]) ) { $enabled_accounts = [ - '512', '544', '66048', '66080', '262656', '262688', '328192', '328224' + '512', '544', '66048', '66080', '262656', '262688', '328192', '328224', '4260352' ]; $user->activated = ( in_array($results[$i]['useraccountcontrol'][0], $enabled_accounts) ) ? 1 : 0; }