[英]Verdaccio with LDAP authenthication
I will like to ask if anyone has tried to auth.我想问一下是否有人尝试过授权。 LDAP with verdaccio am running 5.19.0 on docker container default auth.
LDAP with verdaccio am running 5.19.0 on docker container default auth. works
作品
htpasswd:
file: ./htpasswd
but i try getting plugins for verdaccio auth for ldap but not working have been stop here for over a month但我尝试为 ldap 获取 verdaccio auth 的插件,但没有工作已经在这里停止了一个多月
i need a plugins to add to the verdaccio 5.19.0 with ldap我需要一个插件来添加到带有 ldap 的 verdaccio 5.19.0
here is my config.yaml file on docker这是我在 docker 上的 config.yaml 文件
storage: /verdaccio/storage
plugins: /verdaccio/plugins
web:
title: Verdaccio
auth:
htpasswd:
file: ./htpasswd
uplinks:
npmjs:
url: https://registry.npmjs.org/
packages:
'@*/*':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
'**':
access: $all
publish: $authenticated
unpublish: $authenticated
proxy: npmjs
middlewares:
audit:
enabled: true
logs:
- {type: stdout, format: pretty, level: http}
dockerfile dockerfile
FROM verdaccio/verdaccio:latest
RUN node -v
RUN npm -v
RUN npm i
RUN npm i verdaccio-ldap
RUN npm i verdaccio-activedirectory -g
RUN npm i sinopia-memory -g
i need to auth verdaccio with ldap?我需要用 ldap 授权 verdaccio?
You might want to read our blog您可能想阅读我们的博客
https://verdaccio.org/blog/2019/10/05/verdaccio-4-with-ldap-and-docker https://verdaccio.org/blog/2019/10/05/verdaccio-4-with-ldap-and-docker
and this example is outdated but might work fine with v5此示例已过时,但可能适用于 v5
https://github.com/verdaccio/verdaccio/tree/master/docker-examples/v4/ldap-verdaccio https://github.com/verdaccio/verdaccio/tree/master/docker-examples/v4/ldap-verdaccio
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.