On Mon, 2009-10-12 at 10:22 -0400, Rob Crittenden wrote:
> Pavel Zuna wrote:
> > Rob Crittenden wrote:
> >> Pavel Zuna wrote:
> >>> The method was returning tuples instead of strings in both plugins
> >>> causing a mess in other plugins, when displaying netgroup/HBAC
> >>> information.
> >>> Pavel
> >> Assuming that the primary key doesn't exist, what meaning does
> >> returning '' have? For these 2 plugins shouldn't it always have a
> >> primary key?
> >> rob
> > In most plugins, retrieving the primary key from DN is easy, because it
> > is part of the DN (RDN attribute == primary key attribute). With
> > netgroups and HBAC it is a bit more complicated, because the RDN
> > attribute is 'ipauniqueid' and the primary key is 'cn' - we have to do a
> > search to retrieve it. If the search fails for some reason (someone
> > deletes the entry in parallel for example), we return an empty string,
> > which is fail-safe.
> > Pavel
> Ok, Jason does 11 ET work for you, say on Wed and Fri?
Yep, sounds good.
Freeipa-devel mailing list