Re: [SSSD] [PATCH] Allow NULL memctx in sysdb_custom_subtree_dn

2011-07-08 Thread Stephen Gallagher
On Fri, 2011-07-08 at 15:35 -0400, Simo Sorce wrote: > On Fri, 2011-07-08 at 12:35 -0400, Stephen Gallagher wrote: > > ldb_dn_new_fmt() has a bug and cannot take a NULL memory context > > > > This hack just creates a tmp_ctx to pass to the ldb routine and then > > steals it back onto the memctx be

Re: [SSSD] [PATCH] Allow NULL memctx in sysdb_custom_subtree_dn

2011-07-08 Thread Simo Sorce
On Fri, 2011-07-08 at 12:35 -0400, Stephen Gallagher wrote: > ldb_dn_new_fmt() has a bug and cannot take a NULL memory context > > This hack just creates a tmp_ctx to pass to the ldb routine and then > steals it back onto the memctx before returning it. Ack Simo. -- Simo Sorce * Red Hat, Inc *

[SSSD] [PATCH] Allow NULL memctx in sysdb_custom_subtree_dn

2011-07-08 Thread Stephen Gallagher
ldb_dn_new_fmt() has a bug and cannot take a NULL memory context This hack just creates a tmp_ctx to pass to the ldb routine and then steals it back onto the memctx before returning it. From 5daeba168a08661aa1104b2c50f73d4c8a4a200d Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 8 Jul