This context is used in ldb, and ldb modules apparently abort if nesting is not
allowed.
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define TEVENT_DEPRECATED 1
+
#include "includes.h"
#include "param/param.h"
#include "dsdb/samdb/samdb.h"
#include "includes.h"
#include "param/param.h"
#include "dsdb/samdb/samdb.h"
ret = ENOMEM;
goto done;
}
ret = ENOMEM;
goto done;
}
+ tevent_loop_allow_nesting(base_ctx.ev_ctx);
base_ctx.lp_ctx = loadparm_init_global(false);
if (!base_ctx.lp_ctx) {
ret = ENOMEM;
base_ctx.lp_ctx = loadparm_init_global(false);
if (!base_ctx.lp_ctx) {
ret = ENOMEM;