Re: [Freeipa-devel] [PATCH] 818 find_entry_by_attr() should fail if multiple entries are found

2011-07-12 Thread Rob Crittenden
Martin Kosek wrote: On Tue, 2011-07-05 at 13:42 -0400, Rob Crittenden wrote: It will only ever return one entry so if more than one are found then we raise an exception. This is most easily seen in the host plugin where we search on the server shortname which can be the same across sub-domains (

Re: [Freeipa-devel] [PATCH] 818 find_entry_by_attr() should fail if multiple entries are found

2011-07-12 Thread Martin Kosek
On Tue, 2011-07-05 at 13:42 -0400, Rob Crittenden wrote: > It will only ever return one entry so if more than one are found then we > raise an exception. This is most easily seen in the host plugin where we > search on the server shortname which can be the same across sub-domains > (e.g. foo.exa

[Freeipa-devel] [PATCH] 818 find_entry_by_attr() should fail if multiple entries are found

2011-07-05 Thread Rob Crittenden
It will only ever return one entry so if more than one are found then we raise an exception. This is most easily seen in the host plugin where we search on the server shortname which can be the same across sub-domains (e.g. foo.example.com & foo.lab.example.com). https://fedorahosted.org/freei