diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-07-31 20:22:52 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-07-31 20:22:52 +0100 |
commit | 71f1d48c648f70734a2b4fee90544e9ffafb8e25 (patch) | |
tree | ea3eb054811a164ffddb5260a027bc4b2be71808 | |
parent | 42b408fcc6ca18ff9d6fb685a53448de6632de3b (diff) | |
download | pykolab-71f1d48c648f70734a2b4fee90544e9ffafb8e25.tar.gz |
Make sure to exclude groupofurls from distgroups searches
-rw-r--r-- | pykolab/setup/setup_mta.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/setup/setup_mta.py b/pykolab/setup/setup_mta.py index 8b33ef2..9004e6b 100644 --- a/pykolab/setup/setup_mta.py +++ b/pykolab/setup/setup_mta.py @@ -114,7 +114,7 @@ bind_dn = %(service_bind_dn)s bind_pw = %(service_bind_pw)s # This finds the mail enabled distribution group LDAP entry -query_filter = (&(mail=%%s)(objectClass=kolabgroupofuniquenames)(objectclass=groupofuniquenames)) +query_filter = (&(|(mail=%%s)(alias=%%s))(objectClass=kolabgroupofuniquenames)(objectclass=groupofuniquenames)(!(objectclass=groupofurls))) # From this type of group, get all uniqueMember DNs special_result_attribute = uniqueMember # Only from those DNs, get the mail @@ -139,7 +139,7 @@ bind_dn = %(service_bind_dn)s bind_pw = %(service_bind_pw)s # This finds the mail enabled dynamic distribution group LDAP entry -query_filter = (&(mail=%%s)(objectClass=kolabgroupofuniquenames)(objectClass=groupOfURLs)) +query_filter = (&(|(mail=%%s)(alias=%%s))(objectClass=kolabgroupofuniquenames)(objectClass=groupOfURLs)) # From this type of group, get all memberURL searches/references special_result_attribute = memberURL # Only from those DNs, get the mail |