summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_idmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 52c0b3fecb..28def038c0 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -134,7 +134,7 @@ static const char* net_idmap_dbfile(struct net_context *c,
const char* dbfile = NULL;
const char *backend = NULL;
- backend = lp_parm_const_string(-1, "idmap config *", "backend", NULL);
+ backend = lp_idmap_default_backend();
if (!backend) {
d_printf(_("Internal error: 'idmap config * : backend' is not set!\n"));
return NULL;