summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 1190627ff7..52c0b3fecb 100644
--- a/source3/utils/net_idmap.c
+++ b/source3/utils/net_idmap.c
@@ -134,10 +134,10 @@ static const char* net_idmap_dbfile(struct net_context *c,
const char* dbfile = NULL;
const char *backend = NULL;
- /* prefer idmap config * : backend over idmap backend parameter */
backend = lp_parm_const_string(-1, "idmap config *", "backend", NULL);
if (!backend) {
- backend = lp_idmap_backend();
+ d_printf(_("Internal error: 'idmap config * : backend' is not set!\n"));
+ return NULL;
}
if (c->opt_db != NULL) {