summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-08-10 13:41:14 +0200
committerMichael Adam <obnox@samba.org>2011-08-10 14:59:32 +0200
commit8338fe4bfbc935e3cff059383dd07d419f58c696 (patch)
tree5ee9bd5fe132dd80f535fdfa76c159741e2d936c /source3
parent81580429ec1ab872aa06f541d696f087621b05e6 (diff)
downloadsamba-8338fe4bfbc935e3cff059383dd07d419f58c696.tar.gz
samba-8338fe4bfbc935e3cff059383dd07d419f58c696.tar.bz2
samba-8338fe4bfbc935e3cff059383dd07d419f58c696.zip
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 <obnox@samba.org> Autobuild-Date: Wed Aug 10 14:59:32 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_tdb2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_tdb2.c b/source3/winbindd/idmap_tdb2.c
index d245e447a2..07b91e5b00 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);