From a552aa1c3f67b76692e26a5560640dcfae0831b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Fri, 24 Apr 2009 10:02:06 +0200 Subject: [PATCH] s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before probing for them as shared modules. idmap-gurus of the world, please check. Guenther (cherry picked from commit 67588ca80d654183b8b7b062b9660a506a825f94) --- source/winbindd/idmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/winbindd/idmap.c b/source/winbindd/idmap.c index ca07f230ab0..c097170d031 100644 --- a/source/winbindd/idmap.c +++ b/source/winbindd/idmap.c @@ -536,6 +536,8 @@ static NTSTATUS idmap_alloc_init(struct idmap_alloc_context **ctx) char *modulename, *params; NTSTATUS ret = NT_STATUS_NO_MEMORY;; + static_init_idmap; + if (idmap_alloc_ctx != NULL) { *ctx = idmap_alloc_ctx; return NT_STATUS_OK; -- 2.34.1