mirror of
https://github.com/portainer/portainer.git
synced 2025-08-06 06:15:22 +02:00
feat(api): implement anonymous mode for LDAP connection (#3460)
* When enabled, ReaderDN and Password will not be used * Anonymous mode is set to `true` by default on fresh installations
This commit is contained in:
parent
9da08bc792
commit
2ba195adaa
4 changed files with 21 additions and 9 deletions
|
@ -3296,6 +3296,10 @@ definitions:
|
|||
LDAPSettings:
|
||||
type: "object"
|
||||
properties:
|
||||
AnonymousMode:
|
||||
type: "boolean"
|
||||
example: true
|
||||
description: "Enable this option if the server is configured for Anonymous access. When enabled, ReaderDN and Password will not be used."
|
||||
ReaderDN:
|
||||
type: "string"
|
||||
example: "cn=readonly-account,dc=ldap,dc=domain,dc=tld"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue