auth-ldap plugin is not shown



  • Hello,

    I did a fresh install from source and I can not make auth-ldap module to be shown. I did the following:

    npm install --global xo-server-auth-ldap
    /usr/bin/xo-server-auth-ldap -> /usr/lib/node_modules/xo-server-auth-ldap/dist/test-cli.js

    • xo-server-auth-ldap@0.6.4
      updated 1 package in 2.42s

    Then I have rebooted the server, just to be sure, but it's still not shown in the GUI. Can someone give a hint what am I missing? Here are some additional details, if it helps:

    node -v
    v8.11.1

    xo-server 5.18.0

    Thanks in advance



  • Now that everything is under the same GH repo, the source for all plugins should already be there. You just need to create a symlink and then restart xo-server --

    ln -s /opt/xen-orchestra/packages/xo-server-auth-ldap /usr/local/lib/node_modules/
    sudo systemctl restart xo-server.service
    

    HTH, Dan



  • Thanks, I thought it will load the plugins from the packages directory or from the global one.

    Regards



  • I don't believe the coding has changed in this area, so XO looks for plugins in the following locations --

    • node_modules directory below the main xen-orchestra directory
    • /usr/local/lib/node_modules/

Log in to reply