We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1679de commit 41dde6bCopy full SHA for 41dde6b
1 file changed
resources/lib/UnityLDAP.php
@@ -203,13 +203,13 @@ public function getUnassignedID($uid, $UnitySQL)
203
// found csv file
204
$handle = fopen($fileinfo->getPathname(), "r");
205
while (($data = fgetcsv($handle, 1000, ",")) !== false) {
206
- $netid_match = $data[0];
207
- $uid_match = $data[1];
+ $customMappingNetID = $data[0];
+ $customMappingIDNumber = $data[1];
208
209
- if ($uid == $netid_match || $netid == $netid_match) {
+ if ($uid == $customMappingNetID || $netid == $customMappingNetID) {
210
// found a match
211
- if (!$this->UIDNumInUse($uid_match) && !$this->GIDNumInUse($uid_match)) {
212
- return $uid_match;
+ if (!$this->UIDNumInUse($customMappingIDNumber) && !$this->GIDNumInUse($customMappingIDNumber)) {
+ return $CustomMappingIDNumber;
213
}
214
215
0 commit comments