From 8338fe4bfbc935e3cff059383dd07d419f58c696 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 10 Aug 2011 13:41:14 +0200 Subject: s3:idmap_tdb2: fix bug 8368 : correctly initialize "idmap config * : script" with NULL this fixes the fallback to the deprecated spelling idmap:script Autobuild-User: Michael Adam Autobuild-Date: Wed Aug 10 14:59:32 CEST 2011 on sn-devel-104 --- source3/winbindd/idmap_tdb2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c index d245e447a27..07b91e5b001 100644 --- a/source3/winbindd/idmap_tdb2.c +++ b/source3/winbindd/idmap_tdb2.c @@ -290,7 +290,7 @@ static NTSTATUS idmap_tdb2_db_init(struct idmap_domain *dom) ret = NT_STATUS_NO_MEMORY; goto failed; } - ctx->script = lp_parm_const_string(-1, config_option, "script", "NULL"); + ctx->script = lp_parm_const_string(-1, config_option, "script", NULL); talloc_free(config_option); idmap_script = lp_parm_const_string(-1, "idmap", "script", NULL); -- cgit