diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-11-09 16:05:54 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-11-19 12:36:31 -0500 |
commit | 1b166c9e8b16a740442a913446fee9be5eda40de (patch) | |
tree | 5abd179214d052413213a3cfb7d33354190436e8 /ipalib/plugins/baseldap.py | |
parent | c07bac8c0057e4ad1d10ce34b7d0dc0b6f6539a4 (diff) | |
download | freeipa-1b166c9e8b16a740442a913446fee9be5eda40de.tar.gz freeipa-1b166c9e8b16a740442a913446fee9be5eda40de.tar.xz freeipa-1b166c9e8b16a740442a913446fee9be5eda40de.zip |
Fix returning effective rights for password policy.
This also returns the rights for cospriority if the policy is for a group.
ticket 449
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r-- | ipalib/plugins/baseldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 6bf9b3b3e..d742a791e 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]: |