Skip to content

Commit 881f4e3

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents b141945 + 09a5e5b commit 881f4e3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.upgrade_requirements.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"DOC2": "In other words, what you see locally are the requirements for your _current_ install",
44
"DOC3": "Please don't rely on these versions for planning upgrades unless you've fetched the most recent version",
55
"DOC4": "You should really just ignore it and run upgrade.php. Really",
6-
"php_min_version": "8.1.0",
6+
"php_min_version": "8.2.0",
77
"php_max_major_minor": "8.4",
88
"php_max_wontwork": "8.5.0",
99
"current_snipeit_version": "8.0"

app/Console/Commands/LdapSync.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ public function handle()
125125
*/
126126
$attributes = array_values(array_filter($ldap_map));
127127

128+
if (Setting::getSettings()->is_ad === 1 && is_null($ldap_map['active_flag'])) {
129+
$attributes[] = 'useraccountcontrol';
130+
}
131+
128132
$results = Ldap::findLdapUsers($search_base, -1, $filter, $attributes);
129133

130134
} catch (\Exception $e) {

0 commit comments

Comments
 (0)