Add config option :bothcase_name

This commit is contained in:
Lars Kanis
2022-01-17 14:48:49 +01:00
parent 8034957d28
commit d8ea157c66
6 changed files with 85 additions and 18 deletions

View File

@ -0,0 +1,34 @@
---
ldap_connection:
host: localhost
port: 1389
ldap_users:
base: dc=example,dc=com
filter: (sAMAccountName=*)
name_attribute: sAMAccountName
bothcase_name: true
ldap_groups:
base: dc=example,dc=com
filter: (member=*)
name_attribute: cn
bothcase_name: true
member_attribute: member
pg_connection:
dbname: postgres
host: localhost
port: 54321
# needed for postgres-pr:
# user: insert_your_username_here
# password:
pg_users:
filter: rolcanlogin AND NOT rolsuper AND rolname!='double_user'
create_options: LOGIN
pg_groups:
filter: NOT rolcanlogin
create_options: NOLOGIN
grant_options:

View File

@ -11,14 +11,14 @@ cn=Fred Flintstone,dc=example,dc=com:
sn:
- Flintstone
sAMAccountName:
- fred
- Fred
cn=Wilma Flintstone,dc=example,dc=com:
cn:
- Wilma Flintstone
mail:
- wilma@bedrock.org
sAMAccountName:
- wilma
- Wilma
cn=Flintstones,dc=example,dc=com:
cn:
- Flintstones