2015-10-28 | Paul Boddie | raw annotate files changeset graph | Ensure that the store directory is an absolute path. Provide an exception if the lock location cannot be computed for some reason. |
1 LDAP_PERSON_QUERY = (&(|(mail=${quote_ldap:${local_part}}@${domain})(alias=${quote_ldap:${local_part}}@${domain}))(objectclass=inetorgperson)) 2 3 ldap_person: 4 debug_print = "R: ldap_person for $local_part@$domain" 5 driver = accept 6 condition = ${if eq {}{${lookup ldap{ \ 7 user="LDAP_SERVICE_BIND_DN" \ 8 pass=LDAP_SERVICE_PASSWORD \ 9 ldap://LDAP_HOST:LDAP_PORT/LDAP_BASE_DN?mail?sub?LDAP_PERSON_QUERY} \ 10 }}{no}{yes}} 11 transport = people_transport 12 cannot_route_message = Unknown user