1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

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>
This commit is contained in:
Volker Lendecke 2017-03-18 18:34:07 +01:00 committed by Michael Adam
parent e78d78a1ff
commit 9d22e8a99c

View File

@ -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);