We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e98215 commit 25eadb4Copy full SHA for 25eadb4
resources/lib/UnityLDAP.php
@@ -163,8 +163,9 @@ public function getNextOrgGIDNumber($UnitySQL)
163
164
private function IDNumInUse($id)
165
{
166
- // id reserved for debian packages
167
- if (($id >= 100 && $id <= 999) || ($id >= 60000 && $id <= 64999)) {
+ // 0-99 are probably going to be used for local system accounts instead of LDAP accounts
+ // 100-999, 60000-64999 are reserved for debian packages
168
+ if (($id <= 999) || ($id >= 60000 && $id <= 64999)) {
169
return true;
170
}
171
$users = $this->userOU->getChildrenArray([], true);
0 commit comments