Re: [Freeipa-devel] [PATCH] index fqdn and macAddress attributes

2012-04-24 Thread Jan Cholasta
On 23.4.2012 22:46, Nalin Dahyabhai wrote: On Mon, Apr 23, 2012 at 04:40:11PM +0200, Jan Cholasta wrote: On 16.4.2012 22:32, Nalin Dahyabhai wrote: When we implement ticket #2259, indexing fqdn and macAddress should help the Schema Compatibility and NIS Server plugins locate relevant computer

Re: [Freeipa-devel] More types of replica in FreeIPA

2012-04-24 Thread Ondrej Hamada
On 04/23/2012 07:58 PM, Simo Sorce wrote: On Mon, 2012-04-23 at 13:50 -0400, Dmitri Pal wrote: Ah OK. Another semantic difference. Doing it in phases is one thing and delivering is another. Let us say we identified 10 things that needs to be implemented. The problem is so huge that Ondrej would

Re: [Freeipa-devel] [PATCH] compat ieee802Device entries for ipaHost entries

2012-04-24 Thread Jan Cholasta
On 23.4.2012 22:45, Nalin Dahyabhai wrote: On Mon, Apr 23, 2012 at 05:03:28PM +0200, Jan Cholasta wrote: On 16.4.2012 22:39, Nalin Dahyabhai wrote: This bit of configuration creates a cn=computers area under cn=compat which we populate with ieee802Device entries corresponding to any ipaHost

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

2012-04-24 Thread Jan Cholasta
On 23.4.2012 23:18, Nalin Dahyabhai wrote: On Mon, Apr 23, 2012 at 05:40:27PM +0200, Jan Cholasta wrote: On 23.4.2012 17:21, Jan Cholasta wrote: On 16.4.2012 22:51, Nalin Dahyabhai wrote: The ethers.byname and ethers.byaddr NIS maps pair host names and hardware network addresses. This should

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

2012-04-24 Thread Petr Viktorin
On 04/24/2012 01:02 PM, Jan Cholasta wrote: The error is: Traceback (most recent call last): File /usr/lib/python2.7/site-packages/ipaserver/install/ldapupdate.py, line 652, in __update_record self.conn.addEntry(entry) File /usr/lib/python2.7/site-packages/ipaserver/ipaldap.py, line 495, in

[Freeipa-devel] [PATCH 0018] Deadlock detection logic

2012-04-24 Thread Petr Spacek
Hello, this patch adds deadlock detection (based on simple timeout) to current code. If (probable) deadlock is detected, current action is stopped with proper error. It properly detects Simo's deadlock with 'connections' parameter == 1. (Described in

Re: [Freeipa-devel] [PATCH 0018] Deadlock detection logic

2012-04-24 Thread Petr Spacek
On 04/24/2012 03:21 PM, Petr Spacek wrote: Hello, this patch adds deadlock detection (based on simple timeout) to current code. If (probable) deadlock is detected, current action is stopped with proper error. It properly detects Simo's deadlock with 'connections' parameter == 1. (Described in

Re: [Freeipa-devel] [PATCH] compat ieee802Device entries for ipaHost entries

2012-04-24 Thread Nalin Dahyabhai
On Tue, Apr 24, 2012 at 12:03:31PM +0200, Jan Cholasta wrote: I did some more testing and found out that this line: default:schema-compat-entry-rdn: 'cn=%first(%{fqdn})' needs to be changed to: default:schema-compat-entry-rdn: cn=%first(%{fqdn}) in both

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

2012-04-24 Thread Nalin Dahyabhai
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: default:nis-keys-format: ${macAddress} ?

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

2012-04-24 Thread Jan Cholasta
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 function. This removes the need to specify the

Re: [Freeipa-devel] [PATCH] compat ieee802Device entries for ipaHost entries

2012-04-24 Thread Jan Cholasta
On 24.4.2012 16:21, Nalin Dahyabhai wrote: On Tue, Apr 24, 2012 at 12:03:31PM +0200, Jan Cholasta wrote: I did some more testing and found out that this line: default:schema-compat-entry-rdn: 'cn=%first(%{fqdn})' needs to be changed to: default:schema-compat-entry-rdn: cn=%first(%{fqdn}) in