summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-24 10:02:06 +0200
committerGünther Deschner <gd@samba.org>2009-04-24 10:02:06 +0200
commit67588ca80d654183b8b7b062b9660a506a825f94 (patch)
tree850bf3e53694bba4f5f8fd6dfbf0b6e805c2c621 /source3/winbindd
parentc9ec012e12789f16fe0d065c0a30d2c8861dc3ef (diff)
downloadsamba-67588ca80d654183b8b7b062b9660a506a825f94.tar.gz
samba-67588ca80d654183b8b7b062b9660a506a825f94.tar.bz2
samba-67588ca80d654183b8b7b062b9660a506a825f94.zip
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
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index ca07f230ab..c097170d03 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;