mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
@@ -12,6 +12,17 @@
|
||||
"key":"test/data/server.key"
|
||||
},
|
||||
"auth": {
|
||||
"ldap": {
|
||||
"address":"ldap.example.org",
|
||||
"port":389,
|
||||
"startTLS":false,
|
||||
"baseDN":"ou=Users,dc=example,dc=org",
|
||||
"userAttribute":"uid",
|
||||
"bindDN":"cn=ldap-searcher,ou=Users,dc=example,dc=org",
|
||||
"bindPassword":"ldap-searcher-password",
|
||||
"skipVerify":false,
|
||||
"subtreeSearch":true
|
||||
},
|
||||
"htpasswd": {
|
||||
"path": "test/data/htpasswd"
|
||||
},
|
||||
|
||||
@@ -11,6 +11,16 @@ http:
|
||||
cert: test/data/server.cert
|
||||
key: test/data/server.key
|
||||
auth:
|
||||
ldap:
|
||||
address: ldap.example.org
|
||||
port: 389
|
||||
startTLS: false
|
||||
baseDN: ou=Users,dc=example,dc=org
|
||||
userAttribute: uid
|
||||
bindDN: cn=ldap-searcher,ou=Users,dc=example,dc=org
|
||||
bindPassword: ldap-searcher-password
|
||||
skipVerify: false
|
||||
subtreeSearch: true
|
||||
htpasswd:
|
||||
path: test/data/htpasswd
|
||||
failDelay: 5
|
||||
|
||||
Reference in New Issue
Block a user