[sysadmin-bin] Don't search_s on memberUid anymore



commit b8477449cfed7d94a66d719139d3ebf74bf6a8ec
Author: Andrea Veri <av gnome org>
Date:   Sun Oct 5 23:20:03 2014 +0200

    Don't search_s on memberUid anymore

 mail/export-mail.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/export-mail.py b/mail/export-mail.py
index f280579..f55d450 100755
--- a/mail/export-mail.py
+++ b/mail/export-mail.py
@@ -40,7 +40,7 @@ def fetch_group_members(group):
         return _cache_group[group]
 
     filter = ldap.filter.filter_format('(&(objectClass=posixGroup)(cn=%s))', (group, ))
-    results = l.search_s(LDAP_GROUP_BASE, ldap.SCOPE_SUBTREE, filter, ('memberUid', ))
+    results = l.search_s(LDAP_GROUP_BASE, ldap.SCOPE_SUBTREE, filter, ('member', ))
 
     members = set()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]