1.4.3 • Published 6 years ago

verdaccio-activedirectory-extended v1.4.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

verdaccio-activedirectory-extended

Extended Active Directory authentication plugin for verdaccio.

Firstly checks user in AD, then uses htpasswd authentication if not found.

Adds to each user logged in via AD "$ActiveDirectory" group and extendedUsersSuffix (defaults to "OUTSOURCE") group to all the others.

Installation

$ npm install verdaccio-activedirectory-extended

Config

Add to your config.yaml:

auth:
  activedirectory:
    url: "ldap://10.0.100.1"
    baseDN: 'dc=sample,dc=local'
    user: 'service-user'
    password: 'password'
    domainSuffix: 'sample.local'
    extendedUsersFile: '/path/to/local/passwords/file'
    extendedUsersSuffix: 'OUTSOURCE' #optional