Pavel Zuna wrote:
Rob Crittenden wrote: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 Zuna wrote:The method was returning tuples instead of strings in both plugins causing a mess in other plugins, when displaying netgroup/HBAC information.PavelAssuming that the primary key doesn't exist, what meaning does returning '' have? For these 2 plugins shouldn't it always have a primary key?robPavel
Ok, Jason does 11 ET work for you, say on Wed and Fri? rob
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Freeipa-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/freeipa-devel
