diff options
author | Günther Deschner <gd@samba.org> | 2009-04-24 10:02:06 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-04-28 09:11:18 +0200 |
commit | 6045bbc6dbc4437826a7f0f6661215e95773206d (patch) | |
tree | a025c7588fb74500b5476d6bf1b5179c7b68c246 | |
parent | e5f46c2e032f0c043483ff13b6296a207a89bfa3 (diff) | |
download | samba-6045bbc6dbc4437826a7f0f6661215e95773206d.tar.gz |
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)
(cherry picked from commit 76e2e56e256695c1d52bd67d1b07bce0c7e0f37c)
-rw-r--r-- | source3/winbindd/idmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index ca07f230ab0..c097170d031 100644 --- a/source3/winbindd/idmap.c +++ b/source3/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; |