It seems that it is possible for idmap_init_passdb_domain() to be run
before idmap_init_domain(), so ensure we run the static init functions
in both.
Andrew Bartlett
Signed-off-by: Michael Adam <obnox@samba.org>
static struct idmap_domain *idmap_init_passdb_domain(TALLOC_CTX *mem_ctx)
{
+ DEBUG(10, ("idmap_init_passdb_domain: calling static_init_idmap\n"));
+
+ static_init_idmap;
+
if (passdb_idmap_domain != NULL) {
return passdb_idmap_domain;
}