@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | $this->abandonPagedSearch(); |
201 | 201 | // openLDAP requires that we init a new Paged Search. Not needed by AD, |
202 | 202 | // but does not hurt either. |
203 | - $pagingSize = (int)$this->connection->ldapPagingSize; |
|
203 | + $pagingSize = (int) $this->connection->ldapPagingSize; |
|
204 | 204 | // 0 won't result in replies, small numbers may leave out groups |
205 | 205 | // (cf. #12306), 500 is default for paging and should work everywhere. |
206 | 206 | $maxResults = $pagingSize > 20 ? $pagingSize : 500; |
@@ -241,13 +241,13 @@ discard block |
||
241 | 241 | return $values; |
242 | 242 | } else { |
243 | 243 | $low = $result['rangeHigh'] + 1; |
244 | - $attrToRead = $result['attributeName'] . ';range=' . $low . '-*'; |
|
244 | + $attrToRead = $result['attributeName'].';range='.$low.'-*'; |
|
245 | 245 | $isRangeRequest = true; |
246 | 246 | } |
247 | 247 | } |
248 | 248 | } while ($isRangeRequest); |
249 | 249 | |
250 | - \OCP\Util::writeLog('user_ldap', 'Requested attribute ' . $attr . ' not found for ' . $dn, ILogger::DEBUG); |
|
250 | + \OCP\Util::writeLog('user_ldap', 'Requested attribute '.$attr.' not found for '.$dn, ILogger::DEBUG); |
|
251 | 251 | return false; |
252 | 252 | } |
253 | 253 | |
@@ -278,13 +278,13 @@ discard block |
||
278 | 278 | if (!$this->ldap->isResource($rr)) { |
279 | 279 | if ($attribute !== '') { |
280 | 280 | //do not throw this message on userExists check, irritates |
281 | - \OCP\Util::writeLog('user_ldap', 'readAttribute failed for DN ' . $dn, ILogger::DEBUG); |
|
281 | + \OCP\Util::writeLog('user_ldap', 'readAttribute failed for DN '.$dn, ILogger::DEBUG); |
|
282 | 282 | } |
283 | 283 | //in case an error occurs , e.g. object does not exist |
284 | 284 | return false; |
285 | 285 | } |
286 | 286 | if ($attribute === '' && ($filter === 'objectclass=*' || $this->invokeLDAPMethod('countEntries', $cr, $rr) === 1)) { |
287 | - \OCP\Util::writeLog('user_ldap', 'readAttribute: ' . $dn . ' found', ILogger::DEBUG); |
|
287 | + \OCP\Util::writeLog('user_ldap', 'readAttribute: '.$dn.' found', ILogger::DEBUG); |
|
288 | 288 | return true; |
289 | 289 | } |
290 | 290 | $er = $this->invokeLDAPMethod('firstEntry', $cr, $rr); |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | * @throws \Exception |
365 | 365 | */ |
366 | 366 | public function setPassword($userDN, $password) { |
367 | - if ((int)$this->connection->turnOnPasswordChange !== 1) { |
|
367 | + if ((int) $this->connection->turnOnPasswordChange !== 1) { |
|
368 | 368 | throw new \Exception('LDAP password changes are disabled.'); |
369 | 369 | } |
370 | 370 | $cr = $this->connection->getConnectionResource(); |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | return @$this->invokeLDAPMethod('exopPasswd', $cr, $userDN, '', $password) || |
379 | 379 | @$this->invokeLDAPMethod('modReplace', $cr, $userDN, $password); |
380 | 380 | } catch (ConstraintViolationException $e) { |
381 | - throw new HintException('Password change rejected.', \OC::$server->getL10N('user_ldap')->t('Password change rejected. Hint: ') . $e->getMessage(), $e->getCode()); |
|
381 | + throw new HintException('Password change rejected.', \OC::$server->getL10N('user_ldap')->t('Password change rejected. Hint: ').$e->getMessage(), $e->getCode()); |
|
382 | 382 | } |
383 | 383 | } |
384 | 384 | |
@@ -544,21 +544,21 @@ discard block |
||
544 | 544 | } |
545 | 545 | } else { |
546 | 546 | //If the UUID can't be detected something is foul. |
547 | - \OCP\Util::writeLog('user_ldap', 'Cannot determine UUID for ' . $fdn . '. Skipping.', ILogger::INFO); |
|
547 | + \OCP\Util::writeLog('user_ldap', 'Cannot determine UUID for '.$fdn.'. Skipping.', ILogger::INFO); |
|
548 | 548 | return false; |
549 | 549 | } |
550 | 550 | |
551 | 551 | if (is_null($ldapName)) { |
552 | 552 | $ldapName = $this->readAttribute($fdn, $nameAttribute, $filter); |
553 | 553 | if (!isset($ldapName[0]) && empty($ldapName[0])) { |
554 | - \OCP\Util::writeLog('user_ldap', 'No or empty name for ' . $fdn . ' with filter ' . $filter . '.', ILogger::DEBUG); |
|
554 | + \OCP\Util::writeLog('user_ldap', 'No or empty name for '.$fdn.' with filter '.$filter.'.', ILogger::DEBUG); |
|
555 | 555 | return false; |
556 | 556 | } |
557 | 557 | $ldapName = $ldapName[0]; |
558 | 558 | } |
559 | 559 | |
560 | 560 | if ($isUser) { |
561 | - $usernameAttribute = (string)$this->connection->ldapExpertUsernameAttr; |
|
561 | + $usernameAttribute = (string) $this->connection->ldapExpertUsernameAttr; |
|
562 | 562 | if ($usernameAttribute !== '') { |
563 | 563 | $username = $this->readAttribute($fdn, $usernameAttribute); |
564 | 564 | $username = $username[0]; |
@@ -610,7 +610,7 @@ discard block |
||
610 | 610 | } |
611 | 611 | |
612 | 612 | //if everything else did not help.. |
613 | - \OCP\Util::writeLog('user_ldap', 'Could not create unique name for ' . $fdn . '.', ILogger::INFO); |
|
613 | + \OCP\Util::writeLog('user_ldap', 'Could not create unique name for '.$fdn.'.', ILogger::INFO); |
|
614 | 614 | return false; |
615 | 615 | } |
616 | 616 | |
@@ -725,7 +725,7 @@ discard block |
||
725 | 725 | * @param string|false $home the home directory path |
726 | 726 | */ |
727 | 727 | public function cacheUserHome($ocName, $home) { |
728 | - $cacheKey = 'getHome' . $ocName; |
|
728 | + $cacheKey = 'getHome'.$ocName; |
|
729 | 729 | $this->connection->writeToCache($cacheKey, $home); |
730 | 730 | } |
731 | 731 | |
@@ -735,14 +735,14 @@ discard block |
||
735 | 735 | * @param string $ocName the internal Nextcloud username |
736 | 736 | */ |
737 | 737 | public function cacheUserExists($ocName) { |
738 | - $this->connection->writeToCache('userExists' . $ocName, true); |
|
738 | + $this->connection->writeToCache('userExists'.$ocName, true); |
|
739 | 739 | } |
740 | 740 | |
741 | 741 | /** |
742 | 742 | * caches a group as existing |
743 | 743 | */ |
744 | 744 | public function cacheGroupExists(string $gid): void { |
745 | - $this->connection->writeToCache('groupExists' . $gid, true); |
|
745 | + $this->connection->writeToCache('groupExists'.$gid, true); |
|
746 | 746 | } |
747 | 747 | |
748 | 748 | /** |
@@ -760,11 +760,11 @@ discard block |
||
760 | 760 | } |
761 | 761 | $displayName = $user->composeAndStoreDisplayName($displayName, $displayName2); |
762 | 762 | $cacheKeyTrunk = 'getDisplayName'; |
763 | - $this->connection->writeToCache($cacheKeyTrunk . $ocName, $displayName); |
|
763 | + $this->connection->writeToCache($cacheKeyTrunk.$ocName, $displayName); |
|
764 | 764 | } |
765 | 765 | |
766 | 766 | public function cacheGroupDisplayName(string $ncName, string $displayName): void { |
767 | - $cacheKey = 'group_getDisplayName' . $ncName; |
|
767 | + $cacheKey = 'group_getDisplayName'.$ncName; |
|
768 | 768 | $this->connection->writeToCache($cacheKey, $displayName); |
769 | 769 | } |
770 | 770 | |
@@ -782,7 +782,7 @@ discard block |
||
782 | 782 | //while loop is just a precaution. If a name is not generated within |
783 | 783 | //20 attempts, something else is very wrong. Avoids infinite loop. |
784 | 784 | while ($attempts < 20) { |
785 | - $altName = $name . '_' . rand(1000, 9999); |
|
785 | + $altName = $name.'_'.rand(1000, 9999); |
|
786 | 786 | if (!$this->ncUserManager->userExists($altName)) { |
787 | 787 | return $altName; |
788 | 788 | } |
@@ -811,9 +811,9 @@ discard block |
||
811 | 811 | } else { |
812 | 812 | natsort($usedNames); |
813 | 813 | $lastName = array_pop($usedNames); |
814 | - $lastNo = (int)substr($lastName, strrpos($lastName, '_') + 1); |
|
814 | + $lastNo = (int) substr($lastName, strrpos($lastName, '_') + 1); |
|
815 | 815 | } |
816 | - $altName = $name . '_' . (string)($lastNo + 1); |
|
816 | + $altName = $name.'_'.(string) ($lastNo + 1); |
|
817 | 817 | unset($usedNames); |
818 | 818 | |
819 | 819 | $attempts = 1; |
@@ -824,7 +824,7 @@ discard block |
||
824 | 824 | if (!\OC::$server->getGroupManager()->groupExists($altName)) { |
825 | 825 | return $altName; |
826 | 826 | } |
827 | - $altName = $name . '_' . ($lastNo + $attempts); |
|
827 | + $altName = $name.'_'.($lastNo + $attempts); |
|
828 | 828 | $attempts++; |
829 | 829 | } |
830 | 830 | return false; |
@@ -882,12 +882,12 @@ discard block |
||
882 | 882 | if (!$forceApplyAttributes) { |
883 | 883 | $isBackgroundJobModeAjax = $this->config |
884 | 884 | ->getAppValue('core', 'backgroundjobs_mode', 'ajax') === 'ajax'; |
885 | - $listOfDNs = array_reduce($ldapRecords, function ($listOfDNs, $entry) { |
|
885 | + $listOfDNs = array_reduce($ldapRecords, function($listOfDNs, $entry) { |
|
886 | 886 | $listOfDNs[] = $entry['dn'][0]; |
887 | 887 | return $listOfDNs; |
888 | 888 | }, []); |
889 | 889 | $idsByDn = $this->userMapper->getListOfIdsByDn($listOfDNs); |
890 | - $recordsToUpdate = array_filter($ldapRecords, function ($record) use ($isBackgroundJobModeAjax, $idsByDn) { |
|
890 | + $recordsToUpdate = array_filter($ldapRecords, function($record) use ($isBackgroundJobModeAjax, $idsByDn) { |
|
891 | 891 | $newlyMapped = false; |
892 | 892 | $uid = $idsByDn[$record['dn'][0]] ?? null; |
893 | 893 | if ($uid === null) { |
@@ -945,13 +945,13 @@ discard block |
||
945 | 945 | public function fetchListOfGroups($filter, $attr, $limit = null, $offset = null) { |
946 | 946 | $groupRecords = $this->searchGroups($filter, $attr, $limit, $offset); |
947 | 947 | |
948 | - $listOfDNs = array_reduce($groupRecords, function ($listOfDNs, $entry) { |
|
948 | + $listOfDNs = array_reduce($groupRecords, function($listOfDNs, $entry) { |
|
949 | 949 | $listOfDNs[] = $entry['dn'][0]; |
950 | 950 | return $listOfDNs; |
951 | 951 | }, []); |
952 | 952 | $idsByDn = $this->groupMapper->getListOfIdsByDn($listOfDNs); |
953 | 953 | |
954 | - array_walk($groupRecords, function ($record) use ($idsByDn) { |
|
954 | + array_walk($groupRecords, function($record) use ($idsByDn) { |
|
955 | 955 | $newlyMapped = false; |
956 | 956 | $gid = $idsByDn[$record['dn'][0]] ?? null; |
957 | 957 | if ($gid === null) { |
@@ -974,7 +974,7 @@ discard block |
||
974 | 974 | if ($manyAttributes) { |
975 | 975 | return $list; |
976 | 976 | } else { |
977 | - $list = array_reduce($list, function ($carry, $item) { |
|
977 | + $list = array_reduce($list, function($carry, $item) { |
|
978 | 978 | $attribute = array_keys($item)[0]; |
979 | 979 | $carry[] = $item[$attribute][0]; |
980 | 980 | return $carry; |
@@ -1010,7 +1010,7 @@ discard block |
||
1010 | 1010 | $result = false; |
1011 | 1011 | foreach ($this->connection->ldapBaseUsers as $base) { |
1012 | 1012 | $count = $this->count($filter, [$base], $attr, $limit, $offset); |
1013 | - $result = is_int($count) ? (int)$result + $count : $result; |
|
1013 | + $result = is_int($count) ? (int) $result + $count : $result; |
|
1014 | 1014 | } |
1015 | 1015 | return $result; |
1016 | 1016 | } |
@@ -1049,7 +1049,7 @@ discard block |
||
1049 | 1049 | $result = false; |
1050 | 1050 | foreach ($this->connection->ldapBaseGroups as $base) { |
1051 | 1051 | $count = $this->count($filter, [$base], $attr, $limit, $offset); |
1052 | - $result = is_int($count) ? (int)$result + $count : $result; |
|
1052 | + $result = is_int($count) ? (int) $result + $count : $result; |
|
1053 | 1053 | } |
1054 | 1054 | return $result; |
1055 | 1055 | } |
@@ -1066,7 +1066,7 @@ discard block |
||
1066 | 1066 | $result = false; |
1067 | 1067 | foreach ($this->connection->ldapBase as $base) { |
1068 | 1068 | $count = $this->count('objectclass=*', [$base], ['dn'], $limit, $offset); |
1069 | - $result = is_int($count) ? (int)$result + $count : $result; |
|
1069 | + $result = is_int($count) ? (int) $result + $count : $result; |
|
1070 | 1070 | } |
1071 | 1071 | return $result; |
1072 | 1072 | } |
@@ -1092,7 +1092,7 @@ discard block |
||
1092 | 1092 | // php no longer supports call-time pass-by-reference |
1093 | 1093 | // thus cannot support controlPagedResultResponse as the third argument |
1094 | 1094 | // is a reference |
1095 | - $doMethod = function () use ($command, &$arguments) { |
|
1095 | + $doMethod = function() use ($command, &$arguments) { |
|
1096 | 1096 | if ($command == 'controlPagedResultResponse') { |
1097 | 1097 | throw new \InvalidArgumentException('Invoker does not support controlPagedResultResponse, call LDAP Wrapper directly instead.'); |
1098 | 1098 | } else { |
@@ -1152,7 +1152,7 @@ discard block |
||
1152 | 1152 | |
1153 | 1153 | //check whether paged search should be attempted |
1154 | 1154 | try { |
1155 | - $pagedSearchOK = $this->initPagedSearch($filter, $base, $attr, (int)$limit, (int)$offset); |
|
1155 | + $pagedSearchOK = $this->initPagedSearch($filter, $base, $attr, (int) $limit, (int) $offset); |
|
1156 | 1156 | } catch (NoMoreResults $e) { |
1157 | 1157 | // beyond last results page |
1158 | 1158 | return false; |
@@ -1162,7 +1162,7 @@ discard block |
||
1162 | 1162 | // cannot use $cr anymore, might have changed in the previous call! |
1163 | 1163 | $error = $this->ldap->errno($this->connection->getConnectionResource()); |
1164 | 1164 | if (!$this->ldap->isResource($sr) || $error !== 0) { |
1165 | - \OCP\Util::writeLog('user_ldap', 'Attempt for Paging? ' . print_r($pagedSearchOK, true), ILogger::ERROR); |
|
1165 | + \OCP\Util::writeLog('user_ldap', 'Attempt for Paging? '.print_r($pagedSearchOK, true), ILogger::ERROR); |
|
1166 | 1166 | return false; |
1167 | 1167 | } |
1168 | 1168 | |
@@ -1206,7 +1206,7 @@ discard block |
||
1206 | 1206 | $this->pagedSearchedSuccessful = true; |
1207 | 1207 | } |
1208 | 1208 | } else { |
1209 | - if (!is_null($limit) && (int)$this->connection->ldapPagingSize !== 0) { |
|
1209 | + if (!is_null($limit) && (int) $this->connection->ldapPagingSize !== 0) { |
|
1210 | 1210 | \OC::$server->getLogger()->debug( |
1211 | 1211 | 'Paged search was not available', |
1212 | 1212 | ['app' => 'user_ldap'] |
@@ -1252,7 +1252,7 @@ discard block |
||
1252 | 1252 | $attr = [mb_strtolower($attr, 'UTF-8')]; |
1253 | 1253 | } |
1254 | 1254 | |
1255 | - $limitPerPage = (int)$this->connection->ldapPagingSize; |
|
1255 | + $limitPerPage = (int) $this->connection->ldapPagingSize; |
|
1256 | 1256 | if (!is_null($limit) && $limit < $limitPerPage && $limit > 0) { |
1257 | 1257 | $limitPerPage = $limit; |
1258 | 1258 | } |
@@ -1294,7 +1294,7 @@ discard block |
||
1294 | 1294 | * @throws ServerNotAvailableException |
1295 | 1295 | */ |
1296 | 1296 | private function countEntriesInSearchResults($sr): int { |
1297 | - return (int)$this->invokeLDAPMethod('countEntries', $this->connection->getConnectionResource(), $sr); |
|
1297 | + return (int) $this->invokeLDAPMethod('countEntries', $this->connection->getConnectionResource(), $sr); |
|
1298 | 1298 | } |
1299 | 1299 | |
1300 | 1300 | /** |
@@ -1310,7 +1310,7 @@ discard block |
||
1310 | 1310 | ?int $offset = null, |
1311 | 1311 | bool $skipHandling = false |
1312 | 1312 | ): array { |
1313 | - $limitPerPage = (int)$this->connection->ldapPagingSize; |
|
1313 | + $limitPerPage = (int) $this->connection->ldapPagingSize; |
|
1314 | 1314 | if (!is_null($limit) && $limit < $limitPerPage && $limit > 0) { |
1315 | 1315 | $limitPerPage = $limit; |
1316 | 1316 | } |
@@ -1402,7 +1402,7 @@ discard block |
||
1402 | 1402 | && !is_null($limit) |
1403 | 1403 | ) |
1404 | 1404 | ) { |
1405 | - $findings = array_slice($findings, (int)$offset, $limit); |
|
1405 | + $findings = array_slice($findings, (int) $offset, $limit); |
|
1406 | 1406 | } |
1407 | 1407 | return $findings; |
1408 | 1408 | } |
@@ -1454,7 +1454,7 @@ discard block |
||
1454 | 1454 | } |
1455 | 1455 | $search = ['*', '\\', '(', ')']; |
1456 | 1456 | $replace = ['\\*', '\\\\', '\\(', '\\)']; |
1457 | - return $asterisk . str_replace($search, $replace, $input); |
|
1457 | + return $asterisk.str_replace($search, $replace, $input); |
|
1458 | 1458 | } |
1459 | 1459 | |
1460 | 1460 | /** |
@@ -1486,10 +1486,10 @@ discard block |
||
1486 | 1486 | * @return string the combined filter |
1487 | 1487 | */ |
1488 | 1488 | private function combineFilter($filters, $operator) { |
1489 | - $combinedFilter = '(' . $operator; |
|
1489 | + $combinedFilter = '('.$operator; |
|
1490 | 1490 | foreach ($filters as $filter) { |
1491 | 1491 | if ($filter !== '' && $filter[0] !== '(') { |
1492 | - $filter = '(' . $filter . ')'; |
|
1492 | + $filter = '('.$filter.')'; |
|
1493 | 1493 | } |
1494 | 1494 | $combinedFilter .= $filter; |
1495 | 1495 | } |
@@ -1542,7 +1542,7 @@ discard block |
||
1542 | 1542 | //every word needs to appear at least once |
1543 | 1543 | $wordMatchOneAttrFilters = []; |
1544 | 1544 | foreach ($searchAttributes as $attr) { |
1545 | - $wordMatchOneAttrFilters[] = $attr . '=' . $word; |
|
1545 | + $wordMatchOneAttrFilters[] = $attr.'='.$word; |
|
1546 | 1546 | } |
1547 | 1547 | $wordFilters[] = $this->combineFilterWithOr($wordMatchOneAttrFilters); |
1548 | 1548 | } |
@@ -1574,14 +1574,14 @@ discard block |
||
1574 | 1574 | if ($fallbackAttribute === '') { |
1575 | 1575 | return ''; |
1576 | 1576 | } |
1577 | - $filter[] = $fallbackAttribute . '=' . $search; |
|
1577 | + $filter[] = $fallbackAttribute.'='.$search; |
|
1578 | 1578 | } else { |
1579 | 1579 | foreach ($searchAttributes as $attribute) { |
1580 | - $filter[] = $attribute . '=' . $search; |
|
1580 | + $filter[] = $attribute.'='.$search; |
|
1581 | 1581 | } |
1582 | 1582 | } |
1583 | 1583 | if (count($filter) === 1) { |
1584 | - return '(' . $filter[0] . ')'; |
|
1584 | + return '('.$filter[0].')'; |
|
1585 | 1585 | } |
1586 | 1586 | return $this->combineFilterWithOr($filter); |
1587 | 1587 | } |
@@ -1602,7 +1602,7 @@ discard block |
||
1602 | 1602 | if ($term === '') { |
1603 | 1603 | $result = '*'; |
1604 | 1604 | } elseif ($allowEnum !== 'no') { |
1605 | - $result = $term . '*'; |
|
1605 | + $result = $term.'*'; |
|
1606 | 1606 | } |
1607 | 1607 | return $result; |
1608 | 1608 | } |
@@ -1615,7 +1615,7 @@ discard block |
||
1615 | 1615 | public function getFilterForUserCount() { |
1616 | 1616 | $filter = $this->combineFilterWithAnd([ |
1617 | 1617 | $this->connection->ldapUserFilter, |
1618 | - $this->connection->ldapUserDisplayName . '=*' |
|
1618 | + $this->connection->ldapUserDisplayName.'=*' |
|
1619 | 1619 | ]); |
1620 | 1620 | |
1621 | 1621 | return $filter; |
@@ -1681,7 +1681,7 @@ discard block |
||
1681 | 1681 | $uuid = $this->formatGuid2ForFilterUser($uuid); |
1682 | 1682 | } |
1683 | 1683 | |
1684 | - $filter = $uuidAttr . '=' . $uuid; |
|
1684 | + $filter = $uuidAttr.'='.$uuid; |
|
1685 | 1685 | $result = $this->searchUsers($filter, ['dn'], 2); |
1686 | 1686 | if (is_array($result) && isset($result[0]) && isset($result[0]['dn']) && count($result) === 1) { |
1687 | 1687 | // we put the count into account to make sure that this is |
@@ -1811,8 +1811,8 @@ discard block |
||
1811 | 1811 | for ($k = 1; $k <= 2; ++$k) { |
1812 | 1812 | $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2); |
1813 | 1813 | } |
1814 | - $hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4); |
|
1815 | - $hex_guid_to_guid_str .= '-' . substr($hex_guid, 20); |
|
1814 | + $hex_guid_to_guid_str .= '-'.substr($hex_guid, 16, 4); |
|
1815 | + $hex_guid_to_guid_str .= '-'.substr($hex_guid, 20); |
|
1816 | 1816 | |
1817 | 1817 | return strtoupper($hex_guid_to_guid_str); |
1818 | 1818 | } |
@@ -1846,7 +1846,7 @@ discard block |
||
1846 | 1846 | * user. Instead we write a log message. |
1847 | 1847 | */ |
1848 | 1848 | \OC::$server->getLogger()->info( |
1849 | - 'Passed string does not resemble a valid GUID. Known UUID ' . |
|
1849 | + 'Passed string does not resemble a valid GUID. Known UUID '. |
|
1850 | 1850 | '({uuid}) probably does not match UUID configuration.', |
1851 | 1851 | ['app' => 'user_ldap', 'uuid' => $guid] |
1852 | 1852 | ); |
@@ -1859,7 +1859,7 @@ discard block |
||
1859 | 1859 | } |
1860 | 1860 | for ($i = 0; $i < 5; $i++) { |
1861 | 1861 | $pairs = str_split($blocks[$i], 2); |
1862 | - $blocks[$i] = '\\' . implode('\\', $pairs); |
|
1862 | + $blocks[$i] = '\\'.implode('\\', $pairs); |
|
1863 | 1863 | } |
1864 | 1864 | return implode('', $blocks); |
1865 | 1865 | } |
@@ -1873,7 +1873,7 @@ discard block |
||
1873 | 1873 | */ |
1874 | 1874 | public function getSID($dn) { |
1875 | 1875 | $domainDN = $this->getDomainDNFromDN($dn); |
1876 | - $cacheKey = 'getSID-' . $domainDN; |
|
1876 | + $cacheKey = 'getSID-'.$domainDN; |
|
1877 | 1877 | $sid = $this->connection->getFromCache($cacheKey); |
1878 | 1878 | if (!is_null($sid)) { |
1879 | 1879 | return $sid; |
@@ -2067,7 +2067,7 @@ discard block |
||
2067 | 2067 | $this->abandonPagedSearch(); |
2068 | 2068 | // in case someone set it to 0 … use 500, otherwise no results will |
2069 | 2069 | // be returned. |
2070 | - $pageSize = (int)$this->connection->ldapPagingSize > 0 ? (int)$this->connection->ldapPagingSize : 500; |
|
2070 | + $pageSize = (int) $this->connection->ldapPagingSize > 0 ? (int) $this->connection->ldapPagingSize : 500; |
|
2071 | 2071 | $pagedSearchOK = $this->invokeLDAPMethod('controlPagedResult', |
2072 | 2072 | $this->connection->getConnectionResource(), |
2073 | 2073 | $pageSize, false); |
@@ -6,96 +6,96 @@ |
||
6 | 6 | |
7 | 7 | class ComposerStaticInitUser_LDAP |
8 | 8 | { |
9 | - public static $prefixLengthsPsr4 = array ( |
|
9 | + public static $prefixLengthsPsr4 = array( |
|
10 | 10 | 'O' => |
11 | - array ( |
|
11 | + array( |
|
12 | 12 | 'OCA\\User_LDAP\\' => 14, |
13 | 13 | ), |
14 | 14 | ); |
15 | 15 | |
16 | - public static $prefixDirsPsr4 = array ( |
|
16 | + public static $prefixDirsPsr4 = array( |
|
17 | 17 | 'OCA\\User_LDAP\\' => |
18 | - array ( |
|
19 | - 0 => __DIR__ . '/..' . '/../lib', |
|
18 | + array( |
|
19 | + 0 => __DIR__.'/..'.'/../lib', |
|
20 | 20 | ), |
21 | 21 | ); |
22 | 22 | |
23 | - public static $classMap = array ( |
|
24 | - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', |
|
25 | - 'OCA\\User_LDAP\\Access' => __DIR__ . '/..' . '/../lib/Access.php', |
|
26 | - 'OCA\\User_LDAP\\AccessFactory' => __DIR__ . '/..' . '/../lib/AccessFactory.php', |
|
27 | - 'OCA\\User_LDAP\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php', |
|
28 | - 'OCA\\User_LDAP\\BackendUtility' => __DIR__ . '/..' . '/../lib/BackendUtility.php', |
|
29 | - 'OCA\\User_LDAP\\Command\\CheckUser' => __DIR__ . '/..' . '/../lib/Command/CheckUser.php', |
|
30 | - 'OCA\\User_LDAP\\Command\\CreateEmptyConfig' => __DIR__ . '/..' . '/../lib/Command/CreateEmptyConfig.php', |
|
31 | - 'OCA\\User_LDAP\\Command\\DeleteConfig' => __DIR__ . '/..' . '/../lib/Command/DeleteConfig.php', |
|
32 | - 'OCA\\User_LDAP\\Command\\ResetUser' => __DIR__ . '/..' . '/../lib/Command/ResetUser.php', |
|
33 | - 'OCA\\User_LDAP\\Command\\Search' => __DIR__ . '/..' . '/../lib/Command/Search.php', |
|
34 | - 'OCA\\User_LDAP\\Command\\SetConfig' => __DIR__ . '/..' . '/../lib/Command/SetConfig.php', |
|
35 | - 'OCA\\User_LDAP\\Command\\ShowConfig' => __DIR__ . '/..' . '/../lib/Command/ShowConfig.php', |
|
36 | - 'OCA\\User_LDAP\\Command\\ShowRemnants' => __DIR__ . '/..' . '/../lib/Command/ShowRemnants.php', |
|
37 | - 'OCA\\User_LDAP\\Command\\TestConfig' => __DIR__ . '/..' . '/../lib/Command/TestConfig.php', |
|
38 | - 'OCA\\User_LDAP\\Configuration' => __DIR__ . '/..' . '/../lib/Configuration.php', |
|
39 | - 'OCA\\User_LDAP\\Connection' => __DIR__ . '/..' . '/../lib/Connection.php', |
|
40 | - 'OCA\\User_LDAP\\ConnectionFactory' => __DIR__ . '/..' . '/../lib/ConnectionFactory.php', |
|
41 | - 'OCA\\User_LDAP\\Controller\\ConfigAPIController' => __DIR__ . '/..' . '/../lib/Controller/ConfigAPIController.php', |
|
42 | - 'OCA\\User_LDAP\\Controller\\RenewPasswordController' => __DIR__ . '/..' . '/../lib/Controller/RenewPasswordController.php', |
|
43 | - 'OCA\\User_LDAP\\Events\\GroupBackendRegistered' => __DIR__ . '/..' . '/../lib/Events/GroupBackendRegistered.php', |
|
44 | - 'OCA\\User_LDAP\\Events\\UserBackendRegistered' => __DIR__ . '/..' . '/../lib/Events/UserBackendRegistered.php', |
|
45 | - 'OCA\\User_LDAP\\Exceptions\\AttributeNotSet' => __DIR__ . '/..' . '/../lib/Exceptions/AttributeNotSet.php', |
|
46 | - 'OCA\\User_LDAP\\Exceptions\\ConstraintViolationException' => __DIR__ . '/..' . '/../lib/Exceptions/ConstraintViolationException.php', |
|
47 | - 'OCA\\User_LDAP\\Exceptions\\NoMoreResults' => __DIR__ . '/..' . '/../lib/Exceptions/NoMoreResults.php', |
|
48 | - 'OCA\\User_LDAP\\Exceptions\\NotOnLDAP' => __DIR__ . '/..' . '/../lib/Exceptions/NotOnLDAP.php', |
|
49 | - 'OCA\\User_LDAP\\FilesystemHelper' => __DIR__ . '/..' . '/../lib/FilesystemHelper.php', |
|
50 | - 'OCA\\User_LDAP\\GroupPluginManager' => __DIR__ . '/..' . '/../lib/GroupPluginManager.php', |
|
51 | - 'OCA\\User_LDAP\\Group_LDAP' => __DIR__ . '/..' . '/../lib/Group_LDAP.php', |
|
52 | - 'OCA\\User_LDAP\\Group_Proxy' => __DIR__ . '/..' . '/../lib/Group_Proxy.php', |
|
53 | - 'OCA\\User_LDAP\\Handler\\ExtStorageConfigHandler' => __DIR__ . '/..' . '/../lib/Handler/ExtStorageConfigHandler.php', |
|
54 | - 'OCA\\User_LDAP\\Helper' => __DIR__ . '/..' . '/../lib/Helper.php', |
|
55 | - 'OCA\\User_LDAP\\IGroupLDAP' => __DIR__ . '/..' . '/../lib/IGroupLDAP.php', |
|
56 | - 'OCA\\User_LDAP\\ILDAPGroupPlugin' => __DIR__ . '/..' . '/../lib/ILDAPGroupPlugin.php', |
|
57 | - 'OCA\\User_LDAP\\ILDAPUserPlugin' => __DIR__ . '/..' . '/../lib/ILDAPUserPlugin.php', |
|
58 | - 'OCA\\User_LDAP\\ILDAPWrapper' => __DIR__ . '/..' . '/../lib/ILDAPWrapper.php', |
|
59 | - 'OCA\\User_LDAP\\IUserLDAP' => __DIR__ . '/..' . '/../lib/IUserLDAP.php', |
|
60 | - 'OCA\\User_LDAP\\Jobs\\CleanUp' => __DIR__ . '/..' . '/../lib/Jobs/CleanUp.php', |
|
61 | - 'OCA\\User_LDAP\\Jobs\\Sync' => __DIR__ . '/..' . '/../lib/Jobs/Sync.php', |
|
62 | - 'OCA\\User_LDAP\\Jobs\\UpdateGroups' => __DIR__ . '/..' . '/../lib/Jobs/UpdateGroups.php', |
|
63 | - 'OCA\\User_LDAP\\LDAP' => __DIR__ . '/..' . '/../lib/LDAP.php', |
|
64 | - 'OCA\\User_LDAP\\LDAPProvider' => __DIR__ . '/..' . '/../lib/LDAPProvider.php', |
|
65 | - 'OCA\\User_LDAP\\LDAPProviderFactory' => __DIR__ . '/..' . '/../lib/LDAPProviderFactory.php', |
|
66 | - 'OCA\\User_LDAP\\LDAPUtility' => __DIR__ . '/..' . '/../lib/LDAPUtility.php', |
|
67 | - 'OCA\\User_LDAP\\LogWrapper' => __DIR__ . '/..' . '/../lib/LogWrapper.php', |
|
68 | - 'OCA\\User_LDAP\\Mapping\\AbstractMapping' => __DIR__ . '/..' . '/../lib/Mapping/AbstractMapping.php', |
|
69 | - 'OCA\\User_LDAP\\Mapping\\GroupMapping' => __DIR__ . '/..' . '/../lib/Mapping/GroupMapping.php', |
|
70 | - 'OCA\\User_LDAP\\Mapping\\UserMapping' => __DIR__ . '/..' . '/../lib/Mapping/UserMapping.php', |
|
71 | - 'OCA\\User_LDAP\\Migration\\RemoveRefreshTime' => __DIR__ . '/..' . '/../lib/Migration/RemoveRefreshTime.php', |
|
72 | - 'OCA\\User_LDAP\\Migration\\SetDefaultProvider' => __DIR__ . '/..' . '/../lib/Migration/SetDefaultProvider.php', |
|
73 | - 'OCA\\User_LDAP\\Migration\\UUIDFix' => __DIR__ . '/..' . '/../lib/Migration/UUIDFix.php', |
|
74 | - 'OCA\\User_LDAP\\Migration\\UUIDFixGroup' => __DIR__ . '/..' . '/../lib/Migration/UUIDFixGroup.php', |
|
75 | - 'OCA\\User_LDAP\\Migration\\UUIDFixInsert' => __DIR__ . '/..' . '/../lib/Migration/UUIDFixInsert.php', |
|
76 | - 'OCA\\User_LDAP\\Migration\\UUIDFixUser' => __DIR__ . '/..' . '/../lib/Migration/UUIDFixUser.php', |
|
77 | - 'OCA\\User_LDAP\\Migration\\Version1010Date20200630192842' => __DIR__ . '/..' . '/../lib/Migration/Version1010Date20200630192842.php', |
|
78 | - 'OCA\\User_LDAP\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php', |
|
79 | - 'OCA\\User_LDAP\\PagedResults\\IAdapter' => __DIR__ . '/..' . '/../lib/PagedResults/IAdapter.php', |
|
80 | - 'OCA\\User_LDAP\\PagedResults\\Php73' => __DIR__ . '/..' . '/../lib/PagedResults/Php73.php', |
|
81 | - 'OCA\\User_LDAP\\PagedResults\\TLinkId' => __DIR__ . '/..' . '/../lib/PagedResults/TLinkId.php', |
|
82 | - 'OCA\\User_LDAP\\Proxy' => __DIR__ . '/..' . '/../lib/Proxy.php', |
|
83 | - 'OCA\\User_LDAP\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php', |
|
84 | - 'OCA\\User_LDAP\\Settings\\Section' => __DIR__ . '/..' . '/../lib/Settings/Section.php', |
|
85 | - 'OCA\\User_LDAP\\UserPluginManager' => __DIR__ . '/..' . '/../lib/UserPluginManager.php', |
|
86 | - 'OCA\\User_LDAP\\User\\DeletedUsersIndex' => __DIR__ . '/..' . '/../lib/User/DeletedUsersIndex.php', |
|
87 | - 'OCA\\User_LDAP\\User\\Manager' => __DIR__ . '/..' . '/../lib/User/Manager.php', |
|
88 | - 'OCA\\User_LDAP\\User\\OfflineUser' => __DIR__ . '/..' . '/../lib/User/OfflineUser.php', |
|
89 | - 'OCA\\User_LDAP\\User\\User' => __DIR__ . '/..' . '/../lib/User/User.php', |
|
90 | - 'OCA\\User_LDAP\\User_LDAP' => __DIR__ . '/..' . '/../lib/User_LDAP.php', |
|
91 | - 'OCA\\User_LDAP\\User_Proxy' => __DIR__ . '/..' . '/../lib/User_Proxy.php', |
|
92 | - 'OCA\\User_LDAP\\Wizard' => __DIR__ . '/..' . '/../lib/Wizard.php', |
|
93 | - 'OCA\\User_LDAP\\WizardResult' => __DIR__ . '/..' . '/../lib/WizardResult.php', |
|
23 | + public static $classMap = array( |
|
24 | + 'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php', |
|
25 | + 'OCA\\User_LDAP\\Access' => __DIR__.'/..'.'/../lib/Access.php', |
|
26 | + 'OCA\\User_LDAP\\AccessFactory' => __DIR__.'/..'.'/../lib/AccessFactory.php', |
|
27 | + 'OCA\\User_LDAP\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php', |
|
28 | + 'OCA\\User_LDAP\\BackendUtility' => __DIR__.'/..'.'/../lib/BackendUtility.php', |
|
29 | + 'OCA\\User_LDAP\\Command\\CheckUser' => __DIR__.'/..'.'/../lib/Command/CheckUser.php', |
|
30 | + 'OCA\\User_LDAP\\Command\\CreateEmptyConfig' => __DIR__.'/..'.'/../lib/Command/CreateEmptyConfig.php', |
|
31 | + 'OCA\\User_LDAP\\Command\\DeleteConfig' => __DIR__.'/..'.'/../lib/Command/DeleteConfig.php', |
|
32 | + 'OCA\\User_LDAP\\Command\\ResetUser' => __DIR__.'/..'.'/../lib/Command/ResetUser.php', |
|
33 | + 'OCA\\User_LDAP\\Command\\Search' => __DIR__.'/..'.'/../lib/Command/Search.php', |
|
34 | + 'OCA\\User_LDAP\\Command\\SetConfig' => __DIR__.'/..'.'/../lib/Command/SetConfig.php', |
|
35 | + 'OCA\\User_LDAP\\Command\\ShowConfig' => __DIR__.'/..'.'/../lib/Command/ShowConfig.php', |
|
36 | + 'OCA\\User_LDAP\\Command\\ShowRemnants' => __DIR__.'/..'.'/../lib/Command/ShowRemnants.php', |
|
37 | + 'OCA\\User_LDAP\\Command\\TestConfig' => __DIR__.'/..'.'/../lib/Command/TestConfig.php', |
|
38 | + 'OCA\\User_LDAP\\Configuration' => __DIR__.'/..'.'/../lib/Configuration.php', |
|
39 | + 'OCA\\User_LDAP\\Connection' => __DIR__.'/..'.'/../lib/Connection.php', |
|
40 | + 'OCA\\User_LDAP\\ConnectionFactory' => __DIR__.'/..'.'/../lib/ConnectionFactory.php', |
|
41 | + 'OCA\\User_LDAP\\Controller\\ConfigAPIController' => __DIR__.'/..'.'/../lib/Controller/ConfigAPIController.php', |
|
42 | + 'OCA\\User_LDAP\\Controller\\RenewPasswordController' => __DIR__.'/..'.'/../lib/Controller/RenewPasswordController.php', |
|
43 | + 'OCA\\User_LDAP\\Events\\GroupBackendRegistered' => __DIR__.'/..'.'/../lib/Events/GroupBackendRegistered.php', |
|
44 | + 'OCA\\User_LDAP\\Events\\UserBackendRegistered' => __DIR__.'/..'.'/../lib/Events/UserBackendRegistered.php', |
|
45 | + 'OCA\\User_LDAP\\Exceptions\\AttributeNotSet' => __DIR__.'/..'.'/../lib/Exceptions/AttributeNotSet.php', |
|
46 | + 'OCA\\User_LDAP\\Exceptions\\ConstraintViolationException' => __DIR__.'/..'.'/../lib/Exceptions/ConstraintViolationException.php', |
|
47 | + 'OCA\\User_LDAP\\Exceptions\\NoMoreResults' => __DIR__.'/..'.'/../lib/Exceptions/NoMoreResults.php', |
|
48 | + 'OCA\\User_LDAP\\Exceptions\\NotOnLDAP' => __DIR__.'/..'.'/../lib/Exceptions/NotOnLDAP.php', |
|
49 | + 'OCA\\User_LDAP\\FilesystemHelper' => __DIR__.'/..'.'/../lib/FilesystemHelper.php', |
|
50 | + 'OCA\\User_LDAP\\GroupPluginManager' => __DIR__.'/..'.'/../lib/GroupPluginManager.php', |
|
51 | + 'OCA\\User_LDAP\\Group_LDAP' => __DIR__.'/..'.'/../lib/Group_LDAP.php', |
|
52 | + 'OCA\\User_LDAP\\Group_Proxy' => __DIR__.'/..'.'/../lib/Group_Proxy.php', |
|
53 | + 'OCA\\User_LDAP\\Handler\\ExtStorageConfigHandler' => __DIR__.'/..'.'/../lib/Handler/ExtStorageConfigHandler.php', |
|
54 | + 'OCA\\User_LDAP\\Helper' => __DIR__.'/..'.'/../lib/Helper.php', |
|
55 | + 'OCA\\User_LDAP\\IGroupLDAP' => __DIR__.'/..'.'/../lib/IGroupLDAP.php', |
|
56 | + 'OCA\\User_LDAP\\ILDAPGroupPlugin' => __DIR__.'/..'.'/../lib/ILDAPGroupPlugin.php', |
|
57 | + 'OCA\\User_LDAP\\ILDAPUserPlugin' => __DIR__.'/..'.'/../lib/ILDAPUserPlugin.php', |
|
58 | + 'OCA\\User_LDAP\\ILDAPWrapper' => __DIR__.'/..'.'/../lib/ILDAPWrapper.php', |
|
59 | + 'OCA\\User_LDAP\\IUserLDAP' => __DIR__.'/..'.'/../lib/IUserLDAP.php', |
|
60 | + 'OCA\\User_LDAP\\Jobs\\CleanUp' => __DIR__.'/..'.'/../lib/Jobs/CleanUp.php', |
|
61 | + 'OCA\\User_LDAP\\Jobs\\Sync' => __DIR__.'/..'.'/../lib/Jobs/Sync.php', |
|
62 | + 'OCA\\User_LDAP\\Jobs\\UpdateGroups' => __DIR__.'/..'.'/../lib/Jobs/UpdateGroups.php', |
|
63 | + 'OCA\\User_LDAP\\LDAP' => __DIR__.'/..'.'/../lib/LDAP.php', |
|
64 | + 'OCA\\User_LDAP\\LDAPProvider' => __DIR__.'/..'.'/../lib/LDAPProvider.php', |
|
65 | + 'OCA\\User_LDAP\\LDAPProviderFactory' => __DIR__.'/..'.'/../lib/LDAPProviderFactory.php', |
|
66 | + 'OCA\\User_LDAP\\LDAPUtility' => __DIR__.'/..'.'/../lib/LDAPUtility.php', |
|
67 | + 'OCA\\User_LDAP\\LogWrapper' => __DIR__.'/..'.'/../lib/LogWrapper.php', |
|
68 | + 'OCA\\User_LDAP\\Mapping\\AbstractMapping' => __DIR__.'/..'.'/../lib/Mapping/AbstractMapping.php', |
|
69 | + 'OCA\\User_LDAP\\Mapping\\GroupMapping' => __DIR__.'/..'.'/../lib/Mapping/GroupMapping.php', |
|
70 | + 'OCA\\User_LDAP\\Mapping\\UserMapping' => __DIR__.'/..'.'/../lib/Mapping/UserMapping.php', |
|
71 | + 'OCA\\User_LDAP\\Migration\\RemoveRefreshTime' => __DIR__.'/..'.'/../lib/Migration/RemoveRefreshTime.php', |
|
72 | + 'OCA\\User_LDAP\\Migration\\SetDefaultProvider' => __DIR__.'/..'.'/../lib/Migration/SetDefaultProvider.php', |
|
73 | + 'OCA\\User_LDAP\\Migration\\UUIDFix' => __DIR__.'/..'.'/../lib/Migration/UUIDFix.php', |
|
74 | + 'OCA\\User_LDAP\\Migration\\UUIDFixGroup' => __DIR__.'/..'.'/../lib/Migration/UUIDFixGroup.php', |
|
75 | + 'OCA\\User_LDAP\\Migration\\UUIDFixInsert' => __DIR__.'/..'.'/../lib/Migration/UUIDFixInsert.php', |
|
76 | + 'OCA\\User_LDAP\\Migration\\UUIDFixUser' => __DIR__.'/..'.'/../lib/Migration/UUIDFixUser.php', |
|
77 | + 'OCA\\User_LDAP\\Migration\\Version1010Date20200630192842' => __DIR__.'/..'.'/../lib/Migration/Version1010Date20200630192842.php', |
|
78 | + 'OCA\\User_LDAP\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php', |
|
79 | + 'OCA\\User_LDAP\\PagedResults\\IAdapter' => __DIR__.'/..'.'/../lib/PagedResults/IAdapter.php', |
|
80 | + 'OCA\\User_LDAP\\PagedResults\\Php73' => __DIR__.'/..'.'/../lib/PagedResults/Php73.php', |
|
81 | + 'OCA\\User_LDAP\\PagedResults\\TLinkId' => __DIR__.'/..'.'/../lib/PagedResults/TLinkId.php', |
|
82 | + 'OCA\\User_LDAP\\Proxy' => __DIR__.'/..'.'/../lib/Proxy.php', |
|
83 | + 'OCA\\User_LDAP\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php', |
|
84 | + 'OCA\\User_LDAP\\Settings\\Section' => __DIR__.'/..'.'/../lib/Settings/Section.php', |
|
85 | + 'OCA\\User_LDAP\\UserPluginManager' => __DIR__.'/..'.'/../lib/UserPluginManager.php', |
|
86 | + 'OCA\\User_LDAP\\User\\DeletedUsersIndex' => __DIR__.'/..'.'/../lib/User/DeletedUsersIndex.php', |
|
87 | + 'OCA\\User_LDAP\\User\\Manager' => __DIR__.'/..'.'/../lib/User/Manager.php', |
|
88 | + 'OCA\\User_LDAP\\User\\OfflineUser' => __DIR__.'/..'.'/../lib/User/OfflineUser.php', |
|
89 | + 'OCA\\User_LDAP\\User\\User' => __DIR__.'/..'.'/../lib/User/User.php', |
|
90 | + 'OCA\\User_LDAP\\User_LDAP' => __DIR__.'/..'.'/../lib/User_LDAP.php', |
|
91 | + 'OCA\\User_LDAP\\User_Proxy' => __DIR__.'/..'.'/../lib/User_Proxy.php', |
|
92 | + 'OCA\\User_LDAP\\Wizard' => __DIR__.'/..'.'/../lib/Wizard.php', |
|
93 | + 'OCA\\User_LDAP\\WizardResult' => __DIR__.'/..'.'/../lib/WizardResult.php', |
|
94 | 94 | ); |
95 | 95 | |
96 | 96 | public static function getInitializer(ClassLoader $loader) |
97 | 97 | { |
98 | - return \Closure::bind(function () use ($loader) { |
|
98 | + return \Closure::bind(function() use ($loader) { |
|
99 | 99 | $loader->prefixLengthsPsr4 = ComposerStaticInitUser_LDAP::$prefixLengthsPsr4; |
100 | 100 | $loader->prefixDirsPsr4 = ComposerStaticInitUser_LDAP::$prefixDirsPsr4; |
101 | 101 | $loader->classMap = ComposerStaticInitUser_LDAP::$classMap; |
@@ -6,74 +6,74 @@ |
||
6 | 6 | $baseDir = $vendorDir; |
7 | 7 | |
8 | 8 | return array( |
9 | - 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', |
|
10 | - 'OCA\\User_LDAP\\Access' => $baseDir . '/../lib/Access.php', |
|
11 | - 'OCA\\User_LDAP\\AccessFactory' => $baseDir . '/../lib/AccessFactory.php', |
|
12 | - 'OCA\\User_LDAP\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php', |
|
13 | - 'OCA\\User_LDAP\\BackendUtility' => $baseDir . '/../lib/BackendUtility.php', |
|
14 | - 'OCA\\User_LDAP\\Command\\CheckUser' => $baseDir . '/../lib/Command/CheckUser.php', |
|
15 | - 'OCA\\User_LDAP\\Command\\CreateEmptyConfig' => $baseDir . '/../lib/Command/CreateEmptyConfig.php', |
|
16 | - 'OCA\\User_LDAP\\Command\\DeleteConfig' => $baseDir . '/../lib/Command/DeleteConfig.php', |
|
17 | - 'OCA\\User_LDAP\\Command\\ResetUser' => $baseDir . '/../lib/Command/ResetUser.php', |
|
18 | - 'OCA\\User_LDAP\\Command\\Search' => $baseDir . '/../lib/Command/Search.php', |
|
19 | - 'OCA\\User_LDAP\\Command\\SetConfig' => $baseDir . '/../lib/Command/SetConfig.php', |
|
20 | - 'OCA\\User_LDAP\\Command\\ShowConfig' => $baseDir . '/../lib/Command/ShowConfig.php', |
|
21 | - 'OCA\\User_LDAP\\Command\\ShowRemnants' => $baseDir . '/../lib/Command/ShowRemnants.php', |
|
22 | - 'OCA\\User_LDAP\\Command\\TestConfig' => $baseDir . '/../lib/Command/TestConfig.php', |
|
23 | - 'OCA\\User_LDAP\\Configuration' => $baseDir . '/../lib/Configuration.php', |
|
24 | - 'OCA\\User_LDAP\\Connection' => $baseDir . '/../lib/Connection.php', |
|
25 | - 'OCA\\User_LDAP\\ConnectionFactory' => $baseDir . '/../lib/ConnectionFactory.php', |
|
26 | - 'OCA\\User_LDAP\\Controller\\ConfigAPIController' => $baseDir . '/../lib/Controller/ConfigAPIController.php', |
|
27 | - 'OCA\\User_LDAP\\Controller\\RenewPasswordController' => $baseDir . '/../lib/Controller/RenewPasswordController.php', |
|
28 | - 'OCA\\User_LDAP\\Events\\GroupBackendRegistered' => $baseDir . '/../lib/Events/GroupBackendRegistered.php', |
|
29 | - 'OCA\\User_LDAP\\Events\\UserBackendRegistered' => $baseDir . '/../lib/Events/UserBackendRegistered.php', |
|
30 | - 'OCA\\User_LDAP\\Exceptions\\AttributeNotSet' => $baseDir . '/../lib/Exceptions/AttributeNotSet.php', |
|
31 | - 'OCA\\User_LDAP\\Exceptions\\ConstraintViolationException' => $baseDir . '/../lib/Exceptions/ConstraintViolationException.php', |
|
32 | - 'OCA\\User_LDAP\\Exceptions\\NoMoreResults' => $baseDir . '/../lib/Exceptions/NoMoreResults.php', |
|
33 | - 'OCA\\User_LDAP\\Exceptions\\NotOnLDAP' => $baseDir . '/../lib/Exceptions/NotOnLDAP.php', |
|
34 | - 'OCA\\User_LDAP\\FilesystemHelper' => $baseDir . '/../lib/FilesystemHelper.php', |
|
35 | - 'OCA\\User_LDAP\\GroupPluginManager' => $baseDir . '/../lib/GroupPluginManager.php', |
|
36 | - 'OCA\\User_LDAP\\Group_LDAP' => $baseDir . '/../lib/Group_LDAP.php', |
|
37 | - 'OCA\\User_LDAP\\Group_Proxy' => $baseDir . '/../lib/Group_Proxy.php', |
|
38 | - 'OCA\\User_LDAP\\Handler\\ExtStorageConfigHandler' => $baseDir . '/../lib/Handler/ExtStorageConfigHandler.php', |
|
39 | - 'OCA\\User_LDAP\\Helper' => $baseDir . '/../lib/Helper.php', |
|
40 | - 'OCA\\User_LDAP\\IGroupLDAP' => $baseDir . '/../lib/IGroupLDAP.php', |
|
41 | - 'OCA\\User_LDAP\\ILDAPGroupPlugin' => $baseDir . '/../lib/ILDAPGroupPlugin.php', |
|
42 | - 'OCA\\User_LDAP\\ILDAPUserPlugin' => $baseDir . '/../lib/ILDAPUserPlugin.php', |
|
43 | - 'OCA\\User_LDAP\\ILDAPWrapper' => $baseDir . '/../lib/ILDAPWrapper.php', |
|
44 | - 'OCA\\User_LDAP\\IUserLDAP' => $baseDir . '/../lib/IUserLDAP.php', |
|
45 | - 'OCA\\User_LDAP\\Jobs\\CleanUp' => $baseDir . '/../lib/Jobs/CleanUp.php', |
|
46 | - 'OCA\\User_LDAP\\Jobs\\Sync' => $baseDir . '/../lib/Jobs/Sync.php', |
|
47 | - 'OCA\\User_LDAP\\Jobs\\UpdateGroups' => $baseDir . '/../lib/Jobs/UpdateGroups.php', |
|
48 | - 'OCA\\User_LDAP\\LDAP' => $baseDir . '/../lib/LDAP.php', |
|
49 | - 'OCA\\User_LDAP\\LDAPProvider' => $baseDir . '/../lib/LDAPProvider.php', |
|
50 | - 'OCA\\User_LDAP\\LDAPProviderFactory' => $baseDir . '/../lib/LDAPProviderFactory.php', |
|
51 | - 'OCA\\User_LDAP\\LDAPUtility' => $baseDir . '/../lib/LDAPUtility.php', |
|
52 | - 'OCA\\User_LDAP\\LogWrapper' => $baseDir . '/../lib/LogWrapper.php', |
|
53 | - 'OCA\\User_LDAP\\Mapping\\AbstractMapping' => $baseDir . '/../lib/Mapping/AbstractMapping.php', |
|
54 | - 'OCA\\User_LDAP\\Mapping\\GroupMapping' => $baseDir . '/../lib/Mapping/GroupMapping.php', |
|
55 | - 'OCA\\User_LDAP\\Mapping\\UserMapping' => $baseDir . '/../lib/Mapping/UserMapping.php', |
|
56 | - 'OCA\\User_LDAP\\Migration\\RemoveRefreshTime' => $baseDir . '/../lib/Migration/RemoveRefreshTime.php', |
|
57 | - 'OCA\\User_LDAP\\Migration\\SetDefaultProvider' => $baseDir . '/../lib/Migration/SetDefaultProvider.php', |
|
58 | - 'OCA\\User_LDAP\\Migration\\UUIDFix' => $baseDir . '/../lib/Migration/UUIDFix.php', |
|
59 | - 'OCA\\User_LDAP\\Migration\\UUIDFixGroup' => $baseDir . '/../lib/Migration/UUIDFixGroup.php', |
|
60 | - 'OCA\\User_LDAP\\Migration\\UUIDFixInsert' => $baseDir . '/../lib/Migration/UUIDFixInsert.php', |
|
61 | - 'OCA\\User_LDAP\\Migration\\UUIDFixUser' => $baseDir . '/../lib/Migration/UUIDFixUser.php', |
|
62 | - 'OCA\\User_LDAP\\Migration\\Version1010Date20200630192842' => $baseDir . '/../lib/Migration/Version1010Date20200630192842.php', |
|
63 | - 'OCA\\User_LDAP\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php', |
|
64 | - 'OCA\\User_LDAP\\PagedResults\\IAdapter' => $baseDir . '/../lib/PagedResults/IAdapter.php', |
|
65 | - 'OCA\\User_LDAP\\PagedResults\\Php73' => $baseDir . '/../lib/PagedResults/Php73.php', |
|
66 | - 'OCA\\User_LDAP\\PagedResults\\TLinkId' => $baseDir . '/../lib/PagedResults/TLinkId.php', |
|
67 | - 'OCA\\User_LDAP\\Proxy' => $baseDir . '/../lib/Proxy.php', |
|
68 | - 'OCA\\User_LDAP\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php', |
|
69 | - 'OCA\\User_LDAP\\Settings\\Section' => $baseDir . '/../lib/Settings/Section.php', |
|
70 | - 'OCA\\User_LDAP\\UserPluginManager' => $baseDir . '/../lib/UserPluginManager.php', |
|
71 | - 'OCA\\User_LDAP\\User\\DeletedUsersIndex' => $baseDir . '/../lib/User/DeletedUsersIndex.php', |
|
72 | - 'OCA\\User_LDAP\\User\\Manager' => $baseDir . '/../lib/User/Manager.php', |
|
73 | - 'OCA\\User_LDAP\\User\\OfflineUser' => $baseDir . '/../lib/User/OfflineUser.php', |
|
74 | - 'OCA\\User_LDAP\\User\\User' => $baseDir . '/../lib/User/User.php', |
|
75 | - 'OCA\\User_LDAP\\User_LDAP' => $baseDir . '/../lib/User_LDAP.php', |
|
76 | - 'OCA\\User_LDAP\\User_Proxy' => $baseDir . '/../lib/User_Proxy.php', |
|
77 | - 'OCA\\User_LDAP\\Wizard' => $baseDir . '/../lib/Wizard.php', |
|
78 | - 'OCA\\User_LDAP\\WizardResult' => $baseDir . '/../lib/WizardResult.php', |
|
9 | + 'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php', |
|
10 | + 'OCA\\User_LDAP\\Access' => $baseDir.'/../lib/Access.php', |
|
11 | + 'OCA\\User_LDAP\\AccessFactory' => $baseDir.'/../lib/AccessFactory.php', |
|
12 | + 'OCA\\User_LDAP\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php', |
|
13 | + 'OCA\\User_LDAP\\BackendUtility' => $baseDir.'/../lib/BackendUtility.php', |
|
14 | + 'OCA\\User_LDAP\\Command\\CheckUser' => $baseDir.'/../lib/Command/CheckUser.php', |
|
15 | + 'OCA\\User_LDAP\\Command\\CreateEmptyConfig' => $baseDir.'/../lib/Command/CreateEmptyConfig.php', |
|
16 | + 'OCA\\User_LDAP\\Command\\DeleteConfig' => $baseDir.'/../lib/Command/DeleteConfig.php', |
|
17 | + 'OCA\\User_LDAP\\Command\\ResetUser' => $baseDir.'/../lib/Command/ResetUser.php', |
|
18 | + 'OCA\\User_LDAP\\Command\\Search' => $baseDir.'/../lib/Command/Search.php', |
|
19 | + 'OCA\\User_LDAP\\Command\\SetConfig' => $baseDir.'/../lib/Command/SetConfig.php', |
|
20 | + 'OCA\\User_LDAP\\Command\\ShowConfig' => $baseDir.'/../lib/Command/ShowConfig.php', |
|
21 | + 'OCA\\User_LDAP\\Command\\ShowRemnants' => $baseDir.'/../lib/Command/ShowRemnants.php', |
|
22 | + 'OCA\\User_LDAP\\Command\\TestConfig' => $baseDir.'/../lib/Command/TestConfig.php', |
|
23 | + 'OCA\\User_LDAP\\Configuration' => $baseDir.'/../lib/Configuration.php', |
|
24 | + 'OCA\\User_LDAP\\Connection' => $baseDir.'/../lib/Connection.php', |
|
25 | + 'OCA\\User_LDAP\\ConnectionFactory' => $baseDir.'/../lib/ConnectionFactory.php', |
|
26 | + 'OCA\\User_LDAP\\Controller\\ConfigAPIController' => $baseDir.'/../lib/Controller/ConfigAPIController.php', |
|
27 | + 'OCA\\User_LDAP\\Controller\\RenewPasswordController' => $baseDir.'/../lib/Controller/RenewPasswordController.php', |
|
28 | + 'OCA\\User_LDAP\\Events\\GroupBackendRegistered' => $baseDir.'/../lib/Events/GroupBackendRegistered.php', |
|
29 | + 'OCA\\User_LDAP\\Events\\UserBackendRegistered' => $baseDir.'/../lib/Events/UserBackendRegistered.php', |
|
30 | + 'OCA\\User_LDAP\\Exceptions\\AttributeNotSet' => $baseDir.'/../lib/Exceptions/AttributeNotSet.php', |
|
31 | + 'OCA\\User_LDAP\\Exceptions\\ConstraintViolationException' => $baseDir.'/../lib/Exceptions/ConstraintViolationException.php', |
|
32 | + 'OCA\\User_LDAP\\Exceptions\\NoMoreResults' => $baseDir.'/../lib/Exceptions/NoMoreResults.php', |
|
33 | + 'OCA\\User_LDAP\\Exceptions\\NotOnLDAP' => $baseDir.'/../lib/Exceptions/NotOnLDAP.php', |
|
34 | + 'OCA\\User_LDAP\\FilesystemHelper' => $baseDir.'/../lib/FilesystemHelper.php', |
|
35 | + 'OCA\\User_LDAP\\GroupPluginManager' => $baseDir.'/../lib/GroupPluginManager.php', |
|
36 | + 'OCA\\User_LDAP\\Group_LDAP' => $baseDir.'/../lib/Group_LDAP.php', |
|
37 | + 'OCA\\User_LDAP\\Group_Proxy' => $baseDir.'/../lib/Group_Proxy.php', |
|
38 | + 'OCA\\User_LDAP\\Handler\\ExtStorageConfigHandler' => $baseDir.'/../lib/Handler/ExtStorageConfigHandler.php', |
|
39 | + 'OCA\\User_LDAP\\Helper' => $baseDir.'/../lib/Helper.php', |
|
40 | + 'OCA\\User_LDAP\\IGroupLDAP' => $baseDir.'/../lib/IGroupLDAP.php', |
|
41 | + 'OCA\\User_LDAP\\ILDAPGroupPlugin' => $baseDir.'/../lib/ILDAPGroupPlugin.php', |
|
42 | + 'OCA\\User_LDAP\\ILDAPUserPlugin' => $baseDir.'/../lib/ILDAPUserPlugin.php', |
|
43 | + 'OCA\\User_LDAP\\ILDAPWrapper' => $baseDir.'/../lib/ILDAPWrapper.php', |
|
44 | + 'OCA\\User_LDAP\\IUserLDAP' => $baseDir.'/../lib/IUserLDAP.php', |
|
45 | + 'OCA\\User_LDAP\\Jobs\\CleanUp' => $baseDir.'/../lib/Jobs/CleanUp.php', |
|
46 | + 'OCA\\User_LDAP\\Jobs\\Sync' => $baseDir.'/../lib/Jobs/Sync.php', |
|
47 | + 'OCA\\User_LDAP\\Jobs\\UpdateGroups' => $baseDir.'/../lib/Jobs/UpdateGroups.php', |
|
48 | + 'OCA\\User_LDAP\\LDAP' => $baseDir.'/../lib/LDAP.php', |
|
49 | + 'OCA\\User_LDAP\\LDAPProvider' => $baseDir.'/../lib/LDAPProvider.php', |
|
50 | + 'OCA\\User_LDAP\\LDAPProviderFactory' => $baseDir.'/../lib/LDAPProviderFactory.php', |
|
51 | + 'OCA\\User_LDAP\\LDAPUtility' => $baseDir.'/../lib/LDAPUtility.php', |
|
52 | + 'OCA\\User_LDAP\\LogWrapper' => $baseDir.'/../lib/LogWrapper.php', |
|
53 | + 'OCA\\User_LDAP\\Mapping\\AbstractMapping' => $baseDir.'/../lib/Mapping/AbstractMapping.php', |
|
54 | + 'OCA\\User_LDAP\\Mapping\\GroupMapping' => $baseDir.'/../lib/Mapping/GroupMapping.php', |
|
55 | + 'OCA\\User_LDAP\\Mapping\\UserMapping' => $baseDir.'/../lib/Mapping/UserMapping.php', |
|
56 | + 'OCA\\User_LDAP\\Migration\\RemoveRefreshTime' => $baseDir.'/../lib/Migration/RemoveRefreshTime.php', |
|
57 | + 'OCA\\User_LDAP\\Migration\\SetDefaultProvider' => $baseDir.'/../lib/Migration/SetDefaultProvider.php', |
|
58 | + 'OCA\\User_LDAP\\Migration\\UUIDFix' => $baseDir.'/../lib/Migration/UUIDFix.php', |
|
59 | + 'OCA\\User_LDAP\\Migration\\UUIDFixGroup' => $baseDir.'/../lib/Migration/UUIDFixGroup.php', |
|
60 | + 'OCA\\User_LDAP\\Migration\\UUIDFixInsert' => $baseDir.'/../lib/Migration/UUIDFixInsert.php', |
|
61 | + 'OCA\\User_LDAP\\Migration\\UUIDFixUser' => $baseDir.'/../lib/Migration/UUIDFixUser.php', |
|
62 | + 'OCA\\User_LDAP\\Migration\\Version1010Date20200630192842' => $baseDir.'/../lib/Migration/Version1010Date20200630192842.php', |
|
63 | + 'OCA\\User_LDAP\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php', |
|
64 | + 'OCA\\User_LDAP\\PagedResults\\IAdapter' => $baseDir.'/../lib/PagedResults/IAdapter.php', |
|
65 | + 'OCA\\User_LDAP\\PagedResults\\Php73' => $baseDir.'/../lib/PagedResults/Php73.php', |
|
66 | + 'OCA\\User_LDAP\\PagedResults\\TLinkId' => $baseDir.'/../lib/PagedResults/TLinkId.php', |
|
67 | + 'OCA\\User_LDAP\\Proxy' => $baseDir.'/../lib/Proxy.php', |
|
68 | + 'OCA\\User_LDAP\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php', |
|
69 | + 'OCA\\User_LDAP\\Settings\\Section' => $baseDir.'/../lib/Settings/Section.php', |
|
70 | + 'OCA\\User_LDAP\\UserPluginManager' => $baseDir.'/../lib/UserPluginManager.php', |
|
71 | + 'OCA\\User_LDAP\\User\\DeletedUsersIndex' => $baseDir.'/../lib/User/DeletedUsersIndex.php', |
|
72 | + 'OCA\\User_LDAP\\User\\Manager' => $baseDir.'/../lib/User/Manager.php', |
|
73 | + 'OCA\\User_LDAP\\User\\OfflineUser' => $baseDir.'/../lib/User/OfflineUser.php', |
|
74 | + 'OCA\\User_LDAP\\User\\User' => $baseDir.'/../lib/User/User.php', |
|
75 | + 'OCA\\User_LDAP\\User_LDAP' => $baseDir.'/../lib/User_LDAP.php', |
|
76 | + 'OCA\\User_LDAP\\User_Proxy' => $baseDir.'/../lib/User_Proxy.php', |
|
77 | + 'OCA\\User_LDAP\\Wizard' => $baseDir.'/../lib/Wizard.php', |
|
78 | + 'OCA\\User_LDAP\\WizardResult' => $baseDir.'/../lib/WizardResult.php', |
|
79 | 79 | ); |