summaryrefslogtreecommitdiffstats
path: root/install/ui/Makefile.am
diff options
context:
space:
mode:
authorOndrej Hamada <ohamada@redhat.com>2011-12-02 13:51:35 +0100
committerRob Crittenden <rcritten@redhat.com>2011-12-01 18:04:30 -0500
commit8956fdbf40fab0259f65144678d1ffcc759771d9 (patch)
tree881a9d3c7ca9e64da3fcda85db2db6cacacb5dcf /install/ui/Makefile.am
parentc3dc08b93ffc3c98cef16200752ca2d3badeccd1 (diff)
downloadfreeipa-8956fdbf40fab0259f65144678d1ffcc759771d9.tar.gz
freeipa-8956fdbf40fab0259f65144678d1ffcc759771d9.tar.xz
freeipa-8956fdbf40fab0259f65144678d1ffcc759771d9.zip
Sort password policy by priority
'ipa pwpolicy-find' output is now sorted by priority of the policies. Lower position means lower priority. Global policy is then at the bottom. The changes has also affected LDAPSearch class in baseldap.py: LDAPSearch class sorts the search results by primary key be default (which is usually 'cn'). Therefor a function pointer entries_sortfn was added. If no sorting function exists, default sorting by primary key is used. Sorting function had to be introduced due to the fact that pwpolicy's primary key is also it's 'cn' and global policy is not allowed to have any priority. https://fedorahosted.org/freeipa/ticket/2045
Diffstat (limited to 'install/ui/Makefile.am')
0 files changed, 0 insertions, 0 deletions