Closed MorganCloud closed 7 years ago
I made changes to the config and getting different error, I edited above..
I could never get it to work with AD either (same setup). I had to port over sinopia-activedirectory. After making some very simply edits, I was up and running in no time. It might be worth a shot unless you're dead set on using this.
thank you for the reply..No I am not dead set, can you guide me in what simple edits do I have to make?
Thank you
Download the repo and create an npm package with the files. Then publish it to your Verdaccio server. After that, install it from your private repo server.
In terms of editing, it's about as simple as replacing the word "sinopia" with "verdaccio" in those 2 or 3 files.
thank you alot, it worked.
Here is a configuration example for the active directory:
auth:
ldap:
type: ldap
groupNameAttribute: 'cn'
client_options:
url: "ldaps://server.example.com"
adminDn: "CN=sinopia,CN=Users,DC=example,DC=com"
adminPassword: "YOUR-PASSWORD"
searchBase: "DC=example,DC=com"
searchFilter: "(sAMAccountName={{username}})"
cache: False
searchAttributes:
- "*"
- memberOf
tlsOptions:
rejectUnauthorized: False
It should be great have a Docker example in here https://github.com/verdaccio/docker-examples (Verdaccio + LDAP Plugin + Any LDAP Docker Image). Once this is merged https://github.com/verdaccio/verdaccio/pull/232 should be fairly easy.
I am experiencing errors when trying to setup verdaccio to authenticate against active directory.I get the following error on the backend which is a centos 7 aws machine and my client machine is in corporate office as well as the AD server (VPN connected):
my steps to recreate:
and I get the following error on the client machine which is window 7
npm config list
My config file is below
Could I get some assistance on resolving my issue pleaseÉ
Thank you