Skip to content
Snippets Groups Projects
Verified Commit 62de0203 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Allow defining several search configs for LDAP users and groups

This change modifies the TOML parsing behaviour to accept something like either…

  [ldap.groupz]
  type = "posixGroup"
  search = { base = "ou=Groups,dc=example,dc=com" }

…or…

  [ldap.groupz]
  type = "posixGroup"
  search = [ { base = "ou=Groups,dc=example,dc=com" }, { base = "ou=Groups,dc=example2,dc=com" } ]

…or…

  [ldap.groupz]
  type = "posixGroup"

  [[ldap.groups.search]]
  base = "ou=Groups,dc=example,dc=com"

  [[ldap.groups.search]]
  base = "ou=Groups,dc=example2,dc=com"
parent 0ce629ab
No related branches found
No related tags found
1 merge request!262Resolve "[LDAP] Allow multiple search bases for users and groups"
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment