nss-pam-ldapd commit: r1577 - nss-pam-ldapd/pynslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1577 - nss-pam-ldapd/pynslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1577 - nss-pam-ldapd/pynslcd
- Date: Wed, 28 Dec 2011 23:09:23 +0100 (CET)
Author: arthur
Date: Wed Dec 28 23:09:21 2011
New Revision: 1577
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1577&view=revision
Log:
instead of modifying attmap, modify attribute list
Modified:
nss-pam-ldapd/pynslcd/group.py
Modified: nss-pam-ldapd/pynslcd/group.py
==============================================================================
--- nss-pam-ldapd/pynslcd/group.py Wed Dec 28 22:29:57 2011 (r1576)
+++ nss-pam-ldapd/pynslcd/group.py Wed Dec 28 23:09:21 2011 (r1577)
@@ -49,9 +49,9 @@
super(Search, self).__init__(*args, **kwargs)
if attmap['member'] and 'memberUid' in self.parameters:
# set up our own attributes that leave out membership attributes
- self.attmap = common.Attributes(self.attmap)
- del self.attmap['memberUid']
- del self.attmap['member']
+ self.attributes = list(self.attributes)
+ self.attributes.remove(attmap['memberUid'])
+ self.attributes.remove(attmap['member'])
def mk_filter(self):
# we still need a custom mk_filter because this is an | query
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/
- nss-pam-ldapd commit: r1577 - nss-pam-ldapd/pynslcd,
Commits of the nss-pam-ldapd project