[Freeipa-devel] [PATCH][SSSD] Refactor creation of domain_map into confdb

Stephen Gallagher sgallagh at redhat.com
Fri Feb 27 18:44:11 UTC 2009


Stephen Gallagher wrote:
> The NSS provider, the Data Provider backends and the InfoPipe all
> need access to the domain map provided by the confdb. Instead of
> reimplimenting it in multiple places, it is now provided in a pair
> of helper functions from the confdb.
> 
> confdb_get_domains() returns a domain map by reference. Always
> returns the most up-to-date set of domains from the confdb.
> 
> confdb_get_domains_list() returns an array of strings of all the
> domain names. Always returns the most up-to-date set of domains
> from the confdb.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

Sorry, original patch was missing a line of the commit message
(reproduced here) that I meant to include:

This patch also modifies the btreemap_get_keys() function to better
handle memory and report allocation failures.

-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Refactor-creation-of-domain_map-into-confdb.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090227/08cddfe6/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090227/08cddfe6/attachment.sig>


More information about the Freeipa-devel mailing list