LDAP authentication plugin for XO-Server
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.
Installation of the npm package:
> npm install --global xo-server-auth-ldap
Like all other xo-server plugins, it can be configured directly via the web iterface, 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
- If
bind
is defined, attempt to bind using this user. - Searches for the user in the directory starting from the
base
with the definedfilter
. - If found, a bind is attempted using the distinguished name of this user and the provided password.
# Install dependencies
> npm install
# Run the tests
> npm test
# Continuously compile
> npm run dev
# Continuously run the tests
> npm run dev-test
# Build for production (automatically called by npm install)
> npm run build
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.
AGPL3 © Vates SAS