add comments to sample config

This commit is contained in:
Lars Kanis 2011-05-24 11:43:21 +02:00
parent f07fab1a9f
commit abf88552c4

View File

@ -12,6 +12,7 @@ ldap_connection:
# Search parameters for LDAP users which should be synchronized # Search parameters for LDAP users which should be synchronized
ldap_users: ldap_users:
base: OU=company,OU=company,DC=company,DC=de base: OU=company,OU=company,DC=company,DC=de
# LDAP filter (according to RFC 2254)
filter: (&(objectClass=person)(objectClass=organizationalPerson)(givenName=*)(sn=*)) filter: (&(objectClass=person)(objectClass=organizationalPerson)(givenName=*)(sn=*))
# this attribute is used as PG role name # this attribute is used as PG role name
name_attribute: sAMAccountName name_attribute: sAMAccountName
@ -34,12 +35,16 @@ pg_connection:
password: password:
pg_users: pg_users:
# WHERE-condition to identify LDAP generated users # Filter for identifying LDAP generated users in the database.
# It's the WHERE-condition to "SELECT rolname, oid FROM pg_roles"
filter: rolcanlogin AND NOT rolsuper filter: rolcanlogin AND NOT rolsuper
# Options for CREATE RULE statements
create_options: LOGIN create_options: LOGIN
pg_groups: pg_groups:
# WHERE-condition to identify LDAP generated groups # Filter for identifying LDAP generated groups in the database.
# It's the WHERE-condition to "SELECT rolname, oid FROM pg_roles"
filter: NOT rolcanlogin filter: NOT rolcanlogin
# Options for CREATE RULE statements
create_options: NOLOGIN create_options: NOLOGIN
grant_options: grant_options: