mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3:winbind Ensure we always init idmap_passdb before we use it
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>
This commit is contained in:
parent
b05c18cff2
commit
e67b0cf603
@ -428,6 +428,10 @@ fail:
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user