auth-ldap error: logger is not a function.


  • Hi!
    After upgrading my XO to latest version from github (source), my auth-ldap plugin is not working anymore. I already deleted nodes_modules from xo install path and also removed dir /usr/lib/node_modules/xo-server-auth-ldap, them I did yarn folowed by yarn build. The XO itself runs fine, but auth-ldap plugin don't.

    Installed version (latest from stable branch in git)
    xo-server 5.67.0
    xo-web 5.71.0

    node -v
    v12.18.3

    Error:

    Sep 30 12:26:57 paloma xo-server: at AuthLdap._callee2$ (/usr/lib/node_modules/xo-server-auth-ldap/src/index.js:197:11)
    Sep 30 12:26:57 paloma xo-server: at tryCatch (/usr/lib/node_modules/xo-server-auth-ldap/node_modules/regenerator-runtime/runtime.js:62:40)
    Sep 30 12:26:57 paloma xo-server: at Generator.invoke [as _invoke] (/usr/lib/node_modules/xo-server-auth-ldap/node_modules/regenerator-runtime/runtime.js:296:22)
    Sep 30 12:26:57 paloma xo-server: at Generator.prototype.<computed> [as next] (/usr/lib/node_modules/xo-server-auth-ldap/node_modules/regenerator-runtime/runtime.js:114:21)
    Sep 30 12:26:57 paloma xo-server: at step (/usr/lib/node_modules/xo-server-auth-ldap/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    Sep 30 12:26:57 paloma xo-server: at /usr/lib/node_modules/xo-server-auth-ldap/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
    Sep 30 12:26:57 paloma xo-server: at run (/usr/lib/node_modules/xo-server-auth-ldap/node_modules/core-js/library/modules/es6.promise.js:75:22)
    Sep 30 12:26:57 paloma xo-server: at /usr/lib/node_modules/xo-server-auth-ldap/node_modules/core-js/library/modules/es6.promise.js:92:30
    Sep 30 12:26:57 paloma xo-server: at flush (/usr/lib/node_modules/xo-server-auth-ldap/node_modules/core-js/library/modules/_microtask.js:18:9)
    Sep 30 12:26:57 paloma xo-server: at processTicksAndRejections (internal/process/task_queues.js:79:11)
    Sep 30 12:26:57 paloma xo-server: }
    Sep 30 12:27:00 paloma xo-server: [load-balancer]Execute plans!
    
    
  • XCP-ng Team

    Do you have also the problem with an XOA?

XCP-ng Pro Support

XCP-ng Pro Support