Re: [Freeipa-devel] [PATCH] 76 Refactor exc_callback invocation

2012-04-25 Thread Petr Viktorin
On 04/24/2012 05:38 PM, Jan Cholasta wrote: On 23.4.2012 18:47, Petr Viktorin wrote: On 04/23/2012 04:33 PM, Jan Cholasta wrote: Hi, this patch replaces _call_exc_callbacks with a function wrapper, which will automatically call exception callbacks when an exception is raised from the

Re: [Freeipa-devel] [PATCH] add ethers.byname and ethers.byaddr NIS maps

2012-04-25 Thread Jan Cholasta
On 24.4.2012 16:57, Nalin Dahyabhai wrote: On Tue, Apr 24, 2012 at 01:02:44PM +0200, Jan Cholasta wrote: I'm just curious, why you do this: default:nis-keys-format: %mregsub(%{macAddress} %{fqdn},(..[:\\\|-]..[:\\\|-]..[:\\\|-]..[:\\\|-]..[:\\\|-]..) (.*),%1) and not simply this:

[Freeipa-devel] [PATCH] 254 Sort password policies properly with --pkey-only

2012-04-25 Thread Martin Kosek
Password policy plugin sorts password policies by its COS priority. However, when the pwpolicy-find command is run with --pkey-only, the resulting entries do not contain COS priority and the sort function crashes. This patch makes sure that cospriority is present in the time of the result sorting