Whole bunch of changes
Run sync within a SQL transaction, so that no partial sync happens Don't abort on SQL errors, but print ERROR notice Exit with code 1 when any ERRORs were logged Silence the test suite, so that test runs are more clearly Use PG queries instead of psql in test. This is more flexible than parsing text outputs per Regexp.
This commit is contained in:
2
test/fixtures/config-invalid.yaml
vendored
Normal file
2
test/fixtures/config-invalid.yaml
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
ldap_connection:
|
4
test/fixtures/config-ldapdb.yaml
vendored
4
test/fixtures/config-ldapdb.yaml
vendored
@ -5,7 +5,7 @@ ldap_connection:
|
||||
|
||||
ldap_users:
|
||||
base: dc=example,dc=com
|
||||
filter: (&(cn=*)(sAMAccountName=*))
|
||||
filter: (sAMAccountName=*)
|
||||
name_attribute: sAMAccountName
|
||||
|
||||
ldap_groups:
|
||||
@ -23,7 +23,7 @@ pg_connection:
|
||||
# password:
|
||||
|
||||
pg_users:
|
||||
filter: rolcanlogin AND NOT rolsuper
|
||||
filter: rolcanlogin AND NOT rolsuper AND rolname!='double_user'
|
||||
create_options: LOGIN
|
||||
|
||||
pg_groups:
|
||||
|
Reference in New Issue
Block a user