mikopbx / ModuleLdapSync

The module enables you to import a list of employees from the domain into MikoPBX, automatically creating user accounts. After assigning an internal extension number, the extension details can be synchronized back to the domain.
1 stars 1 forks source link

Check support of OpenLdap #6

Closed jorikfon closed 1 month ago

jorikfon commented 1 year ago

Call to undefined method LdapRecord\Query\Model OpenLdapBuilder::isDisabled)

LdapRecord Auth\UsernameRequiredException: A username must be specified. in file /storage/usbdisk1/mikopbx/custom_modules/ModuleUsersUl/vendor/directorytree/ldaprecord/src/Auth/Guard.php on line 65 Stack trace: 1. Lap Record Auth\UsernameRequiredException->( /storage/usbdisk1/mikopbx/custom_modules/ModuleUsersUl/vendor/directorytree/ldaprecord/src/Auth/Guard.php:65

  1. LdapRecord Auth\Guard->attempt) /storage/usbdisk1/mikopbx/custom_modules/ModuleUsersUl/Lib/UsersUILdapAuth.php:1093. Modules\ModuleUsersUI\Lib\UsersUILdapAuth->checkAuthViaLdap) /storage/usbdisk1/mikopbx/custom_modules/ModuleUsersUl/Lib/UsersUlAuthenticator.php:834. Modules\ModuleUsersUI\Lib\UsersUlAuthenticator->authenticate) /storage/usbdisk1/mikopbx/custom_modules/ModuleUsersUl/Lib/UsersUIConfphp:975. Modules\ModuleUsersUI\Lib\UsersUIConf->authenticateUser /offload/rootfs/us/www/src/Common/Providers/PBXConfModulesProvider.php:1056. call_user_func_array0 /offload/rootfs/us/www/src/Common/Providers/PBXConfModulesProvider.php:1057. MikoPBX\Common\Providers\PBXConfModulesProvider->hookModulesMethod() /offload/rootfs/us/www/src/AdminCabinet/Controllers/SessionController.php:838. MikoPBX\AdminCabinet\Controllers\SessionController->startAction)[internal]:09. Phalcon\Dispatcher\AbstractDispatcher->callActionMethod)[internal:010. Phalcon\Dispatcher\AbstractDispatcher->dispatch()[internall:011.Phalcon\Mvc\Application- handle() /offload/rootfs/usr/www/sites/admin-cabinet/index.php:6512.Application->main(j /offload/rootfs/usr/www/sites/admin-cabinet/index.php:73("success":false,"reload":false,"'message": {"error": ("\u041e\u0448\u0438\u0431\u043alu0430 \u0430\0432\0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438"])."lastSentryEventld":null}
jorikfon commented 1 month ago

Исправлено в версии 1.21