Changeset 2517646
- Timestamp:
- 04/19/2021 02:25:04 PM (5 years ago)
- Location:
- next-active-directory-integration
- Files:
-
- 28 added
- 2 deleted
- 45 edited
- 1 copied
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
assets/screenshot-1.png (modified) (previous)
-
assets/screenshot-10.png (modified) (previous)
-
assets/screenshot-11.png (modified) (previous)
-
assets/screenshot-12.png (modified) (previous)
-
assets/screenshot-13.png (modified) (previous)
-
assets/screenshot-2.png (modified) (previous)
-
assets/screenshot-3.png (modified) (previous)
-
assets/screenshot-4.png (modified) (previous)
-
assets/screenshot-5.png (modified) (previous)
-
assets/screenshot-6.png (modified) (previous)
-
assets/screenshot-7.png (modified) (previous)
-
assets/screenshot-8.png (modified) (previous)
-
assets/screenshot-9.png (modified) (previous)
-
tags/2.2.1 (copied) (copied from next-active-directory-integration/trunk)
-
tags/2.2.1/.editorconfig (added)
-
tags/2.2.1/classes/ActiveDirectory/Context.php (modified) (1 diff)
-
tags/2.2.1/classes/Adi/Configuration/Options.php (modified) (1 diff)
-
tags/2.2.1/classes/Adi/Synchronization/Abstract.php (modified) (1 diff)
-
tags/2.2.1/classes/Adi/User/Manager.php (modified) (2 diffs)
-
tags/2.2.1/classes/Multisite/Configuration/Persistence/ProfileConfigurationRepository.php (modified) (1 diff)
-
tags/2.2.1/composer.json (added)
-
tags/2.2.1/composer.lock (added)
-
tags/2.2.1/docker_tag (added)
-
tags/2.2.1/index.php (modified) (1 diff)
-
tags/2.2.1/readme.txt (modified) (2 diffs)
-
tags/2.2.1/vendor/.gitignore (added)
-
tags/2.2.1/vendor/autoload.php (modified) (1 diff)
-
tags/2.2.1/vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
tags/2.2.1/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/2.2.1/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/2.2.1/vendor/composer/installed.json (modified) (2 diffs)
-
tags/2.2.1/vendor/composer/installed.php (modified) (3 diffs)
-
tags/2.2.1/vendor/paragonie/random_compat/.github (added)
-
tags/2.2.1/vendor/paragonie/random_compat/.github/workflows (added)
-
tags/2.2.1/vendor/paragonie/random_compat/.github/workflows/ci.yml (added)
-
tags/2.2.1/vendor/paragonie/random_compat/lib/random.php (modified) (6 diffs)
-
tags/2.2.1/vendor/paragonie/random_compat/phpunit-autoload.php (deleted)
-
tags/2.2.1/vendor/twig/twig/.editorconfig (added)
-
tags/2.2.1/vendor/twig/twig/.php_cs.dist (added)
-
tags/2.2.1/vendor/twig/twig/.travis.yml (added)
-
tags/2.2.1/vendor/twig/twig/composer.json (added)
-
tags/2.2.1/vendor/twig/twig/drupal_test.sh (added)
-
tags/2.2.1/vendor/twig/twig/phpunit.xml.dist (added)
-
trunk/.editorconfig (added)
-
trunk/classes/ActiveDirectory/Context.php (modified) (1 diff)
-
trunk/classes/Adi/Configuration/Options.php (modified) (1 diff)
-
trunk/classes/Adi/Synchronization/Abstract.php (modified) (1 diff)
-
trunk/classes/Adi/User/Manager.php (modified) (2 diffs)
-
trunk/classes/Multisite/Configuration/Persistence/ProfileConfigurationRepository.php (modified) (1 diff)
-
trunk/composer.json (added)
-
trunk/composer.lock (added)
-
trunk/docker_tag (added)
-
trunk/index.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vendor/.gitignore (added)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.json (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (3 diffs)
-
trunk/vendor/paragonie/random_compat/.github (added)
-
trunk/vendor/paragonie/random_compat/.github/workflows (added)
-
trunk/vendor/paragonie/random_compat/.github/workflows/ci.yml (added)
-
trunk/vendor/paragonie/random_compat/lib/random.php (modified) (6 diffs)
-
trunk/vendor/paragonie/random_compat/phpunit-autoload.php (deleted)
-
trunk/vendor/twig/twig/.editorconfig (added)
-
trunk/vendor/twig/twig/.php_cs.dist (added)
-
trunk/vendor/twig/twig/.travis.yml (added)
-
trunk/vendor/twig/twig/composer.json (added)
-
trunk/vendor/twig/twig/drupal_test.sh (added)
-
trunk/vendor/twig/twig/phpunit.xml.dist (added)
Legend:
- Unmodified
- Added
- Removed
-
next-active-directory-integration/tags/2.2.1/classes/ActiveDirectory/Context.php
r2513920 r2517646 59 59 * Return true if the given SID is part of one the SIDs defined for the context 60 60 * 61 * @param NextADInt_ActiveDirectory_Sid $objectSid61 * @param ?NextADInt_ActiveDirectory_Sid $objectSid 62 62 * @param false $primaryDomainOnly 63 63 * @return bool 64 64 */ 65 public function isMember( NextADInt_ActiveDirectory_Sid $objectSid, $primaryDomainOnly = false)65 public function isMember(?NextADInt_ActiveDirectory_Sid $objectSid, $primaryDomainOnly = false) 66 66 { 67 if (!$objectSid) { 68 return false; 69 } 70 67 71 $useSid = $objectSid->getDomainPartAsSid(); 68 72 -
next-active-directory-integration/tags/2.2.1/classes/Adi/Configuration/Options.php
r2513920 r2517646 82 82 // User Meta - User Meta 83 83 const ADDITIONAL_USER_ATTRIBUTES = 'additional_user_attributes'; 84 const USERMETA_EMPTY_OVERWRITE = 'usermeta_empty_overwrite';85 84 const SHOW_ATTRIBUTES = 'show_attributes'; 86 85 const ATTRIBUTES_TO_SHOW = 'attributes_to_show'; -
next-active-directory-integration/tags/2.2.1/classes/Adi/Synchronization/Abstract.php
r2513920 r2517646 169 169 $sid = NextADInt_ActiveDirectory_Sid::of($userDomainSid); 170 170 171 // @see #138: the SID can be null if this user has been imported in a previous version 171 172 if (!$this->connection->getActiveDirectoryContext()->isMember($sid)) { 172 173 $this->logger->warning('User with name ' . $user->user_login . 'is not a member of one of the configured domains.'); -
next-active-directory-integration/tags/2.2.1/classes/Adi/User/Manager.php
r2224724 r2517646 449 449 NextADInt_Core_Assert::notNull($ldapAttributes, "ldapAttributes must not be null"); 450 450 451 // should empty user metas be override452 $userMetaEmptyOverwrite = $this->configuration->getOptionValue(453 NextADInt_Adi_Configuration_Options::USERMETA_EMPTY_OVERWRITE454 );455 451 $attributeWhiteList = $this->attributeRepository->getWhitelistedAttributes(); 456 452 … … 475 471 $value = NextADInt_Ldap_Attribute_Converter::formatAttributeValue($attribute->getType(), $value); 476 472 477 // set value if $value is not empty or $userMetaEmptyOverwrite is true478 473 $message = "Set AD attribute '$name' (ADI " . $attribute . ") to " . NextADInt_Core_Util_StringUtil::firstChars($value); 479 474 $this->logger->debug($message); -
next-active-directory-integration/tags/2.2.1/classes/Multisite/Configuration/Persistence/ProfileConfigurationRepository.php
r2513920 r2517646 131 131 { 132 132 $metadata = $this->optionProvider->get($optionName); 133 133 134 $default = $metadata[NextADInt_Multisite_Option_Attribute::DEFAULT_VALUE]; 134 135 135 $name = $this->createUniqueOptionName(true, $profileId, $optionName); 136 136 -
next-active-directory-integration/tags/2.2.1/index.php
r2513920 r2517646 4 4 Plugin URI: https://www.active-directory-wp.com 5 5 Description: Enterprise-ready solution to authenticate, authorize and synchronize your Active Directory users to WordPress. Next Active Directory Authentication supports NTLM and Kerberos for Single Sign On. 6 Version: 2.2. 06 Version: 2.2.1 7 7 Author: active-directory-wp.com 8 8 Author URI: http://active-directory-wp.com -
next-active-directory-integration/tags/2.2.1/readme.txt
r2513920 r2517646 4 4 Requires at least: 5.4 5 5 Tested up to: 5.7 6 Stable tag: 2.2. 06 Stable tag: 2.2.1 7 7 License: GPLv3 8 8 … … 131 131 132 132 133 = 2.2.1 = 134 * FIXED: Missing meta_key "domainsid" results in TypeError or NextADInt_ActiveDirectory_Context::isMember (gh-#133) 135 * FIXED: Warning: Trying to access array offset on value of type null (gh-#139) 136 133 137 = 2.2.0 = 134 138 * ADDED: Kerberos principals are no longer treated as userPrincipalNames (ADI-715) -
next-active-directory-integration/tags/2.2.1/vendor/autoload.php
r2513920 r2517646 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd::getLoader();7 return ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc::getLoader(); -
next-active-directory-integration/tags/2.2.1/vendor/composer/InstalledVersions.php
r2513920 r2517646 26 26 'root' => 27 27 array ( 28 'pretty_version' => ' trunk',29 'version' => ' dev-trunk',28 'pretty_version' => '2.2.1', 29 'version' => '2.2.1.0', 30 30 'aliases' => 31 31 array ( 32 32 ), 33 'reference' => NULL,33 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 34 34 'name' => '__root__', 35 35 ), … … 38 38 '__root__' => 39 39 array ( 40 'pretty_version' => ' trunk',41 'version' => ' dev-trunk',42 'aliases' => 43 array ( 44 ), 45 'reference' => NULL,40 'pretty_version' => '2.2.1', 41 'version' => '2.2.1.0', 42 'aliases' => 43 array ( 44 ), 45 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 46 46 ), 47 47 'defuse/php-encryption' => … … 65 65 'paragonie/random_compat' => 66 66 array ( 67 'pretty_version' => 'v2.0. 19',68 'version' => '2.0. 19.0',69 'aliases' => 70 array ( 71 ), 72 'reference' => ' 446fc9faa5c2a9ddf65eb7121c0af7e857295241',67 'pretty_version' => 'v2.0.20', 68 'version' => '2.0.20.0', 69 'aliases' => 70 array ( 71 ), 72 'reference' => '0f1f60250fccffeaf5dda91eea1c018aed1adc2a', 73 73 ), 74 74 'psr/log' => -
next-active-directory-integration/tags/2.2.1/vendor/composer/autoload_real.php
r2513920 r2517646 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd5 class ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire de0ddec4866a627b4af09bbe789ba7cd($fileIdentifier, $file);61 composerRequire3f00034dd40e8b3d83033e5018c258bc($fileIdentifier, $file); 62 62 } 63 63 … … 66 66 } 67 67 68 function composerRequire de0ddec4866a627b4af09bbe789ba7cd($fileIdentifier, $file)68 function composerRequire3f00034dd40e8b3d83033e5018c258bc($fileIdentifier, $file) 69 69 { 70 70 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
next-active-directory-integration/tags/2.2.1/vendor/composer/autoload_static.php
r2513920 r2517646 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd7 class ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc 8 8 { 9 9 public static $files = array ( … … 81 81 { 82 82 return \Closure::bind(function () use ($loader) { 83 $loader->prefixLengthsPsr4 = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$prefixLengthsPsr4;84 $loader->prefixDirsPsr4 = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$prefixDirsPsr4;85 $loader->prefixesPsr0 = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$prefixesPsr0;86 $loader->classMap = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$classMap;83 $loader->prefixLengthsPsr4 = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$prefixLengthsPsr4; 84 $loader->prefixDirsPsr4 = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$prefixDirsPsr4; 85 $loader->prefixesPsr0 = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$prefixesPsr0; 86 $loader->classMap = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$classMap; 87 87 88 88 }, null, ClassLoader::class); -
next-active-directory-integration/tags/2.2.1/vendor/composer/installed.json
r2513920 r2517646 158 158 { 159 159 "name": "paragonie/random_compat", 160 "version": "v2.0. 19",161 "version_normalized": "2.0. 19.0",160 "version": "v2.0.20", 161 "version_normalized": "2.0.20.0", 162 162 "source": { 163 163 "type": "git", 164 164 "url": "https://github.com/paragonie/random_compat.git", 165 "reference": " 446fc9faa5c2a9ddf65eb7121c0af7e857295241"166 }, 167 "dist": { 168 "type": "zip", 169 "url": "https://api.github.com/repos/paragonie/random_compat/zipball/ 446fc9faa5c2a9ddf65eb7121c0af7e857295241",170 "reference": " 446fc9faa5c2a9ddf65eb7121c0af7e857295241",165 "reference": "0f1f60250fccffeaf5dda91eea1c018aed1adc2a" 166 }, 167 "dist": { 168 "type": "zip", 169 "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0f1f60250fccffeaf5dda91eea1c018aed1adc2a", 170 "reference": "0f1f60250fccffeaf5dda91eea1c018aed1adc2a", 171 171 "shasum": "" 172 172 }, … … 180 180 "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." 181 181 }, 182 "time": "202 0-10-15T10:06:57+00:00",182 "time": "2021-04-17T09:33:01+00:00", 183 183 "type": "library", 184 184 "installation-source": "dist", -
next-active-directory-integration/tags/2.2.1/vendor/composer/installed.php
r2513920 r2517646 2 2 'root' => 3 3 array ( 4 'pretty_version' => ' trunk',5 'version' => ' dev-trunk',4 'pretty_version' => '2.2.1', 5 'version' => '2.2.1.0', 6 6 'aliases' => 7 7 array ( 8 8 ), 9 'reference' => NULL,9 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 10 10 'name' => '__root__', 11 11 ), … … 14 14 '__root__' => 15 15 array ( 16 'pretty_version' => ' trunk',17 'version' => ' dev-trunk',16 'pretty_version' => '2.2.1', 17 'version' => '2.2.1.0', 18 18 'aliases' => 19 19 array ( 20 20 ), 21 'reference' => NULL,21 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 22 22 ), 23 23 'defuse/php-encryption' => … … 41 41 'paragonie/random_compat' => 42 42 array ( 43 'pretty_version' => 'v2.0. 19',44 'version' => '2.0. 19.0',43 'pretty_version' => 'v2.0.20', 44 'version' => '2.0.20.0', 45 45 'aliases' => 46 46 array ( 47 47 ), 48 'reference' => ' 446fc9faa5c2a9ddf65eb7121c0af7e857295241',48 'reference' => '0f1f60250fccffeaf5dda91eea1c018aed1adc2a', 49 49 ), 50 50 'psr/log' => -
next-active-directory-integration/tags/2.2.1/vendor/paragonie/random_compat/lib/random.php
r1944146 r2517646 55 55 $RandomCompatDIR = dirname(__FILE__); 56 56 57 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'byte_safe_strings.php';58 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'cast_to_int.php';59 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'error_polyfill.php';57 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'byte_safe_strings.php'; 58 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'cast_to_int.php'; 59 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'error_polyfill.php'; 60 60 61 61 if (!is_callable('random_bytes')) { … … 77 77 // See random_bytes_libsodium.php 78 78 if (PHP_VERSION_ID >= 50300 && is_callable('\\Sodium\\randombytes_buf')) { 79 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_libsodium.php';79 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_libsodium.php'; 80 80 } elseif (method_exists('Sodium', 'randombytes_buf')) { 81 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_libsodium_legacy.php';81 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_libsodium_legacy.php'; 82 82 } 83 83 } … … 118 118 119 119 // See random_bytes_dev_urandom.php 120 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_dev_urandom.php';120 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_dev_urandom.php'; 121 121 } 122 122 // Unset variables after use … … 160 160 ) { 161 161 // See random_bytes_mcrypt.php 162 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_mcrypt.php';162 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_mcrypt.php'; 163 163 } 164 164 $RandomCompatUrandom = null; … … 183 183 try { 184 184 $RandomCompatCOMtest = new COM('CAPICOM.Utilities.1'); 185 /** @psalm-suppress TypeDoesNotContainType */ 185 186 if (method_exists($RandomCompatCOMtest, 'GetRandom')) { 186 187 // See random_bytes_com_dotnet.php 187 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_com_dotnet.php';188 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_com_dotnet.php'; 188 189 } 189 190 } catch (com_exception $e) { … … 220 221 221 222 if (!is_callable('random_int')) { 222 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_int.php';223 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_int.php'; 223 224 } 224 225 -
next-active-directory-integration/trunk/classes/ActiveDirectory/Context.php
r2513920 r2517646 59 59 * Return true if the given SID is part of one the SIDs defined for the context 60 60 * 61 * @param NextADInt_ActiveDirectory_Sid $objectSid61 * @param ?NextADInt_ActiveDirectory_Sid $objectSid 62 62 * @param false $primaryDomainOnly 63 63 * @return bool 64 64 */ 65 public function isMember( NextADInt_ActiveDirectory_Sid $objectSid, $primaryDomainOnly = false)65 public function isMember(?NextADInt_ActiveDirectory_Sid $objectSid, $primaryDomainOnly = false) 66 66 { 67 if (!$objectSid) { 68 return false; 69 } 70 67 71 $useSid = $objectSid->getDomainPartAsSid(); 68 72 -
next-active-directory-integration/trunk/classes/Adi/Configuration/Options.php
r2513920 r2517646 82 82 // User Meta - User Meta 83 83 const ADDITIONAL_USER_ATTRIBUTES = 'additional_user_attributes'; 84 const USERMETA_EMPTY_OVERWRITE = 'usermeta_empty_overwrite';85 84 const SHOW_ATTRIBUTES = 'show_attributes'; 86 85 const ATTRIBUTES_TO_SHOW = 'attributes_to_show'; -
next-active-directory-integration/trunk/classes/Adi/Synchronization/Abstract.php
r2513920 r2517646 169 169 $sid = NextADInt_ActiveDirectory_Sid::of($userDomainSid); 170 170 171 // @see #138: the SID can be null if this user has been imported in a previous version 171 172 if (!$this->connection->getActiveDirectoryContext()->isMember($sid)) { 172 173 $this->logger->warning('User with name ' . $user->user_login . 'is not a member of one of the configured domains.'); -
next-active-directory-integration/trunk/classes/Adi/User/Manager.php
r2224724 r2517646 449 449 NextADInt_Core_Assert::notNull($ldapAttributes, "ldapAttributes must not be null"); 450 450 451 // should empty user metas be override452 $userMetaEmptyOverwrite = $this->configuration->getOptionValue(453 NextADInt_Adi_Configuration_Options::USERMETA_EMPTY_OVERWRITE454 );455 451 $attributeWhiteList = $this->attributeRepository->getWhitelistedAttributes(); 456 452 … … 475 471 $value = NextADInt_Ldap_Attribute_Converter::formatAttributeValue($attribute->getType(), $value); 476 472 477 // set value if $value is not empty or $userMetaEmptyOverwrite is true478 473 $message = "Set AD attribute '$name' (ADI " . $attribute . ") to " . NextADInt_Core_Util_StringUtil::firstChars($value); 479 474 $this->logger->debug($message); -
next-active-directory-integration/trunk/classes/Multisite/Configuration/Persistence/ProfileConfigurationRepository.php
r2513920 r2517646 131 131 { 132 132 $metadata = $this->optionProvider->get($optionName); 133 133 134 $default = $metadata[NextADInt_Multisite_Option_Attribute::DEFAULT_VALUE]; 134 135 135 $name = $this->createUniqueOptionName(true, $profileId, $optionName); 136 136 -
next-active-directory-integration/trunk/index.php
r2513920 r2517646 4 4 Plugin URI: https://www.active-directory-wp.com 5 5 Description: Enterprise-ready solution to authenticate, authorize and synchronize your Active Directory users to WordPress. Next Active Directory Authentication supports NTLM and Kerberos for Single Sign On. 6 Version: 2.2. 06 Version: 2.2.1 7 7 Author: active-directory-wp.com 8 8 Author URI: http://active-directory-wp.com -
next-active-directory-integration/trunk/readme.txt
r2513920 r2517646 4 4 Requires at least: 5.4 5 5 Tested up to: 5.7 6 Stable tag: 2.2. 06 Stable tag: 2.2.1 7 7 License: GPLv3 8 8 … … 131 131 132 132 133 = 2.2.1 = 134 * FIXED: Missing meta_key "domainsid" results in TypeError or NextADInt_ActiveDirectory_Context::isMember (gh-#133) 135 * FIXED: Warning: Trying to access array offset on value of type null (gh-#139) 136 133 137 = 2.2.0 = 134 138 * ADDED: Kerberos principals are no longer treated as userPrincipalNames (ADI-715) -
next-active-directory-integration/trunk/vendor/autoload.php
r2513920 r2517646 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd::getLoader();7 return ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc::getLoader(); -
next-active-directory-integration/trunk/vendor/composer/InstalledVersions.php
r2513920 r2517646 26 26 'root' => 27 27 array ( 28 'pretty_version' => ' trunk',29 'version' => ' dev-trunk',28 'pretty_version' => '2.2.1', 29 'version' => '2.2.1.0', 30 30 'aliases' => 31 31 array ( 32 32 ), 33 'reference' => NULL,33 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 34 34 'name' => '__root__', 35 35 ), … … 38 38 '__root__' => 39 39 array ( 40 'pretty_version' => ' trunk',41 'version' => ' dev-trunk',42 'aliases' => 43 array ( 44 ), 45 'reference' => NULL,40 'pretty_version' => '2.2.1', 41 'version' => '2.2.1.0', 42 'aliases' => 43 array ( 44 ), 45 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 46 46 ), 47 47 'defuse/php-encryption' => … … 65 65 'paragonie/random_compat' => 66 66 array ( 67 'pretty_version' => 'v2.0. 19',68 'version' => '2.0. 19.0',69 'aliases' => 70 array ( 71 ), 72 'reference' => ' 446fc9faa5c2a9ddf65eb7121c0af7e857295241',67 'pretty_version' => 'v2.0.20', 68 'version' => '2.0.20.0', 69 'aliases' => 70 array ( 71 ), 72 'reference' => '0f1f60250fccffeaf5dda91eea1c018aed1adc2a', 73 73 ), 74 74 'psr/log' => -
next-active-directory-integration/trunk/vendor/composer/autoload_real.php
r2513920 r2517646 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd5 class ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit de0ddec4866a627b4af09bbe789ba7cd', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit3f00034dd40e8b3d83033e5018c258bc', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire de0ddec4866a627b4af09bbe789ba7cd($fileIdentifier, $file);61 composerRequire3f00034dd40e8b3d83033e5018c258bc($fileIdentifier, $file); 62 62 } 63 63 … … 66 66 } 67 67 68 function composerRequire de0ddec4866a627b4af09bbe789ba7cd($fileIdentifier, $file)68 function composerRequire3f00034dd40e8b3d83033e5018c258bc($fileIdentifier, $file) 69 69 { 70 70 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
next-active-directory-integration/trunk/vendor/composer/autoload_static.php
r2513920 r2517646 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd7 class ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc 8 8 { 9 9 public static $files = array ( … … 81 81 { 82 82 return \Closure::bind(function () use ($loader) { 83 $loader->prefixLengthsPsr4 = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$prefixLengthsPsr4;84 $loader->prefixDirsPsr4 = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$prefixDirsPsr4;85 $loader->prefixesPsr0 = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$prefixesPsr0;86 $loader->classMap = ComposerStaticInit de0ddec4866a627b4af09bbe789ba7cd::$classMap;83 $loader->prefixLengthsPsr4 = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$prefixLengthsPsr4; 84 $loader->prefixDirsPsr4 = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$prefixDirsPsr4; 85 $loader->prefixesPsr0 = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$prefixesPsr0; 86 $loader->classMap = ComposerStaticInit3f00034dd40e8b3d83033e5018c258bc::$classMap; 87 87 88 88 }, null, ClassLoader::class); -
next-active-directory-integration/trunk/vendor/composer/installed.json
r2513920 r2517646 158 158 { 159 159 "name": "paragonie/random_compat", 160 "version": "v2.0. 19",161 "version_normalized": "2.0. 19.0",160 "version": "v2.0.20", 161 "version_normalized": "2.0.20.0", 162 162 "source": { 163 163 "type": "git", 164 164 "url": "https://github.com/paragonie/random_compat.git", 165 "reference": " 446fc9faa5c2a9ddf65eb7121c0af7e857295241"166 }, 167 "dist": { 168 "type": "zip", 169 "url": "https://api.github.com/repos/paragonie/random_compat/zipball/ 446fc9faa5c2a9ddf65eb7121c0af7e857295241",170 "reference": " 446fc9faa5c2a9ddf65eb7121c0af7e857295241",165 "reference": "0f1f60250fccffeaf5dda91eea1c018aed1adc2a" 166 }, 167 "dist": { 168 "type": "zip", 169 "url": "https://api.github.com/repos/paragonie/random_compat/zipball/0f1f60250fccffeaf5dda91eea1c018aed1adc2a", 170 "reference": "0f1f60250fccffeaf5dda91eea1c018aed1adc2a", 171 171 "shasum": "" 172 172 }, … … 180 180 "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." 181 181 }, 182 "time": "202 0-10-15T10:06:57+00:00",182 "time": "2021-04-17T09:33:01+00:00", 183 183 "type": "library", 184 184 "installation-source": "dist", -
next-active-directory-integration/trunk/vendor/composer/installed.php
r2513920 r2517646 2 2 'root' => 3 3 array ( 4 'pretty_version' => ' trunk',5 'version' => ' dev-trunk',4 'pretty_version' => '2.2.1', 5 'version' => '2.2.1.0', 6 6 'aliases' => 7 7 array ( 8 8 ), 9 'reference' => NULL,9 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 10 10 'name' => '__root__', 11 11 ), … … 14 14 '__root__' => 15 15 array ( 16 'pretty_version' => ' trunk',17 'version' => ' dev-trunk',16 'pretty_version' => '2.2.1', 17 'version' => '2.2.1.0', 18 18 'aliases' => 19 19 array ( 20 20 ), 21 'reference' => NULL,21 'reference' => '13edccb80a7036c104f91851b3811dd2307fdb22', 22 22 ), 23 23 'defuse/php-encryption' => … … 41 41 'paragonie/random_compat' => 42 42 array ( 43 'pretty_version' => 'v2.0. 19',44 'version' => '2.0. 19.0',43 'pretty_version' => 'v2.0.20', 44 'version' => '2.0.20.0', 45 45 'aliases' => 46 46 array ( 47 47 ), 48 'reference' => ' 446fc9faa5c2a9ddf65eb7121c0af7e857295241',48 'reference' => '0f1f60250fccffeaf5dda91eea1c018aed1adc2a', 49 49 ), 50 50 'psr/log' => -
next-active-directory-integration/trunk/vendor/paragonie/random_compat/lib/random.php
r1944146 r2517646 55 55 $RandomCompatDIR = dirname(__FILE__); 56 56 57 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'byte_safe_strings.php';58 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'cast_to_int.php';59 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'error_polyfill.php';57 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'byte_safe_strings.php'; 58 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'cast_to_int.php'; 59 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'error_polyfill.php'; 60 60 61 61 if (!is_callable('random_bytes')) { … … 77 77 // See random_bytes_libsodium.php 78 78 if (PHP_VERSION_ID >= 50300 && is_callable('\\Sodium\\randombytes_buf')) { 79 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_libsodium.php';79 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_libsodium.php'; 80 80 } elseif (method_exists('Sodium', 'randombytes_buf')) { 81 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_libsodium_legacy.php';81 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_libsodium_legacy.php'; 82 82 } 83 83 } … … 118 118 119 119 // See random_bytes_dev_urandom.php 120 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_dev_urandom.php';120 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_dev_urandom.php'; 121 121 } 122 122 // Unset variables after use … … 160 160 ) { 161 161 // See random_bytes_mcrypt.php 162 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_mcrypt.php';162 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_mcrypt.php'; 163 163 } 164 164 $RandomCompatUrandom = null; … … 183 183 try { 184 184 $RandomCompatCOMtest = new COM('CAPICOM.Utilities.1'); 185 /** @psalm-suppress TypeDoesNotContainType */ 185 186 if (method_exists($RandomCompatCOMtest, 'GetRandom')) { 186 187 // See random_bytes_com_dotnet.php 187 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_bytes_com_dotnet.php';188 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_bytes_com_dotnet.php'; 188 189 } 189 190 } catch (com_exception $e) { … … 220 221 221 222 if (!is_callable('random_int')) { 222 require_once $RandomCompatDIR . DIRECTORY_SEPARATOR .'random_int.php';223 require_once $RandomCompatDIR.DIRECTORY_SEPARATOR.'random_int.php'; 223 224 } 224 225
Note: See TracChangeset
for help on using the changeset viewer.