xen-orchestra/packages/xo-server-auth-ldap
2023-08-30 10:37:46 +02:00
..
src fix(xo-server-auth-ldap): mark userIdAttribute as required 2023-08-03 09:56:33 +02:00
.babelrc.js chore: enforce strict mode for CJS files 2022-02-22 12:34:41 +01:00
.eslintrc.js chore(eslint): only use @babel/eslint-parser for pkgs using Babel 2021-04-23 14:47:34 +02:00
.npmignore feat: unified .npmignore for all packages 2021-04-07 13:58:14 +02:00
.USAGE.md chore: hide USAGE.md 2022-02-18 17:11:52 +01:00
package.json feat: technical release (#7007) 2023-08-30 10:37:46 +02:00
README.md feat(*/README.md): better badges 2020-06-01 14:41:52 +02:00

xo-server-auth-ldap

LDAP authentication plugin for XO-Server

Usage

This plugin allows LDAP users to authenticate to Xen-Orchestra.

The first time a user signs in, XO will create a new XO user with the same identifier.

Like all other xo-server plugins, it can be configured directly via the web interface, see the plugin documentation.

If you have issues, you can use the provided CLI to gather more information:

> xo-server-auth-ldap
? uri ldap://ldap.company.net
? fill optional certificateAuthorities? No
? fill optional checkCertificate? No
? fill optional bind? No
? base ou=people,dc=company,dc=net
? fill optional filter? No
configuration saved in ./ldap.cache.conf
? Username john.smith
? Password *****
searching for entries...
0 entries found
could not authenticate john.smith

Algorithm

  1. If bind is defined, attempt to bind using this user.
  2. Searches for the user in the directory starting from the base with the defined filter.
  3. If found, a bind is attempted using the distinguished name of this user and the provided password.

Contributions

Contributions are very welcomed, either on the documentation or on the code.

You may:

  • report any issue you've encountered;
  • fork and create a pull request.

License

AGPL-3.0-or-later © Vates SAS