s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before probing...
authorGünther Deschner <gd@samba.org>
Fri, 24 Apr 2009 08:02:06 +0000 (10:02 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 24 Apr 2009 08:11:27 +0000 (10:11 +0200)
idmap-gurus of the world, please check.

Guenther
(cherry picked from commit 67588ca80d654183b8b7b062b9660a506a825f94)

source/winbindd/idmap.c

index ca07f230ab060ebe6868bcf9df587842664f2fe5..c097170d0316f20ee710ebb66046cb6ea179b82c 100644 (file)
@@ -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;