mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-21 07:29:37 +01:00
![]() * build: update @babel/* devDeps * build(ui-theme): update terser-webpack-plugin devDep * build(e2e-cli): update npm & pnpm latest deps published yesterday * build(ui-theme): update react-router-dom devDep * build(standalone/ui-theme): update webpack devDev published today * build(memory): update memfs dep published yesterday * build(active-directory): update dep activedirectory2 major version * build: remove currently unused devDep @types/lowdb * build(fastify-migration/hooks/local-storage/mock/node-api/verdaccio-htpasswd): update dep core-js * build: remove @commitlint/* devDeps no longer used in master * build(ui-theme): update @testing-library/react devDep major version |
||
---|---|---|
.. | ||
src | ||
tests | ||
.babelrc | ||
CHANGELOG.md | ||
jest.config.js | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json |
@verdaccio/active-directory
Active Directory authentication plugin for Verdaccio
Installation
npm install -g @verdaccio/active-directory
Config
This settings can be set in config.yaml
. All fields are mandatory except groupName
, which is optional, to add security group(s). Also, this optional field can be a single string or a list of strings. Take care that, when defining groupName
key, the user that will be authenticating must be in, at least, one of the groups defined, to authenticate successfully.
auth:
activedirectory:
url: 'ldap://localhost'
baseDN: 'dc=local,dc=host'
domainSuffix: 'local.host'
# groupName: 'singleGroup' # optional, single group syntax
# groupName: # optional, multiple groups syntax
# - 'group1'
# - 'group2'
Inspiration
This plugin is based on verdaccio-activedirectory, which is based on siponia-activedirectory.
Thanks to Doug Dennie and Ela-compil sp. z o. o. for making this possible.
License
@verdaccio/active-directory is an open source project with MIT license