Skip to content

Commit 7d7653c

Browse files
committed
add comment
1 parent 8686cdf commit 7d7653c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

resources/lib/UnityLDAP.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ private function isIDNumberForbidden($id)
177177

178178
private function getNextIDNumber($start, $IDNumsInUse)
179179
{
180+
// custom ID mappings are considered both UIDs and GIDs
180181
$IDNumsInUse = array_merge($IDNumsInUse, array_values($this->getCustomIDMappings()));
181182
$new_id = $start;
182183
while ($this->isIDNumberForbidden($new_id) || in_array($new_id, $IDNumsInUse)) {

0 commit comments

Comments
 (0)