summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-03-18 18:34:07 +0100
committerMichael Adam <obnox@samba.org>2017-03-20 19:36:21 +0100
commit9d22e8a99c10de9c272955e4d51fb40e0860503f (patch)
treead6631d8fec118c0ae4a219c9e7676a7948d4190
parente78d78a1ff5b1d759b0fcfdc9dfd27461ec55706 (diff)
downloadsamba-9d22e8a99c10de9c272955e4d51fb40e0860503f.tar.gz
winbind: Use idmap_config_const_string in idmap_init_domain
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/winbindd/idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 8971e7ffcf3..d5471e9cdba 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -398,7 +398,7 @@ static struct idmap_domain *idmap_init_domain(TALLOC_CTX *mem_ctx,
}
result->read_only = lp_parm_bool(-1, config_option, "read only", false);
- range = lp_parm_const_string(-1, config_option, "range", NULL);
+ range = idmap_config_const_string(result->name, "range", NULL);
talloc_free(config_option);