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

s3:net idmap: remove call to lp_idmap_backend() - this is useless.

The variable behind lp_idmap_backend() is never set.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
This commit is contained in:
Michael Adam 2013-01-28 14:29:21 +01:00
parent 600ba80246
commit cef05fbe8d

View File

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