From 1b166c9e8b16a740442a913446fee9be5eda40de Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 9 Nov 2010 16:05:54 -0500 Subject: Fix returning effective rights for password policy. This also returns the rights for cospriority if the policy is for a group. ticket 449 --- ipalib/plugins/baseldap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/baseldap.py') diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 6bf9b3b3..d742a791 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -151,7 +151,7 @@ def get_attributes(attrs): def get_effective_rights(ldap, dn, attrs=None): if attrs is None: - attrs = ['*', 'nsaccountlock'] + attrs = ['*', 'nsaccountlock', 'cospriority'] rights = ldap.get_effective_rights(dn, attrs) rdict = {} if 'attributelevelrights' in rights[1]: -- cgit