summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-13 12:48:13 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-13 12:48:13 +0100
commit9422f2cc8899c74e09f1dc047d049a74e72da283 (patch)
treeba52b5009cbcf29f864f5470da4c2db03e5d3b71 /bin
parent8c6f0209bb5cef9be92cc6ef794397e2a2e6d313 (diff)
downloadpykolab-9422f2cc8899c74e09f1dc047d049a74e72da283.tar.gz
Fix some mistakes in the previous commit
Diffstat (limited to 'bin')
-rwxr-xr-xbin/kolab_smtp_access_policy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/kolab_smtp_access_policy.py b/bin/kolab_smtp_access_policy.py
index e2a9421..7f0bf56 100755
--- a/bin/kolab_smtp_access_policy.py
+++ b/bin/kolab_smtp_access_policy.py
@@ -792,14 +792,14 @@ class PolicyRequest(object):
log.debug(_("Could not find this user, accepting"), level=8)
return True
- if not user['dn'] == None:
+ if not user['dn'] == False:
recipient_policy = auth.get_user_attribute(
sasl_domain,
user,
'kolabAllowSMTPSender'
)
- if not group['dn'] == None:
+ if not group['dn'] == False:
recipient_policy = auth.get_group_attribute(
sasl_domain,
group,