Merge remote-tracking branch 'upstream/master'

This commit is contained in:
fsight
2022-04-18 23:31:24 +05:00
12 changed files with 150 additions and 62 deletions

View File

@ -1,6 +1,6 @@
# With this sample config the distinction between LDAP-synchronized
# groups/users from is done by the membership to ldap_user and
# ldap_group. These two roles has to be defined manally before
# ldap_group. These two roles have to be defined manally before
# pg_ldap_sync can run.
# Connection parameters to LDAP server
@ -25,6 +25,8 @@ ldap_users:
name_attribute: sAMAccountName
# lowercase name for use as PG role name
lowercase_name: true
# Add lowercase name *and* original name for use as PG role names (useful for migrating between case types)
bothcase_name: false
# Search parameters for LDAP groups which should be synchronized
ldap_groups:

View File

@ -23,6 +23,9 @@ mapping:
"uppercase_name":
type: bool
required: no
"bothcase_name":
type: bool
required: no
"ldap_groups":
type: map
@ -43,6 +46,9 @@ mapping:
"uppercase_name":
type: bool
required: no
"bothcase_name":
type: bool
required: no
"member_attribute":
type: str
required: yes