The variable behind lp_idmap_backend() is never set.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
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) {