We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8686cdf commit 7d7653cCopy full SHA for 7d7653c
resources/lib/UnityLDAP.php
@@ -177,6 +177,7 @@ private function isIDNumberForbidden($id)
177
178
private function getNextIDNumber($start, $IDNumsInUse)
179
{
180
+ // custom ID mappings are considered both UIDs and GIDs
181
$IDNumsInUse = array_merge($IDNumsInUse, array_values($this->getCustomIDMappings()));
182
$new_id = $start;
183
while ($this->isIDNumberForbidden($new_id) || in_array($new_id, $IDNumsInUse)) {
0 commit comments