git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f5b66ea
)
s3:winbind Ensure we always init idmap_passdb before we use it
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 24 May 2010 04:55:17 +0000
(14:55 +1000)
committer
Michael Adam
<obnox@samba.org>
Wed, 23 Jun 2010 10:40:40 +0000
(12:40 +0200)
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>
source3/winbindd/idmap.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap.c
b/source3/winbindd/idmap.c
index 4bb54a328e9ad37d1bbd5519676459ce6626194c..532a90ed3d8df147296e49ed7d8ad20e65b8ffa9 100644
(file)
--- a/
source3/winbindd/idmap.c
+++ b/
source3/winbindd/idmap.c
@@
-432,6
+432,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;
}