diff options
author | Michael Adam <obnox@samba.org> | 2013-01-29 13:34:26 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-02-05 17:36:34 +0100 |
commit | 9aa79c11f07624d10f49a6840e93e84739997ffe (patch) | |
tree | e1a80753b5866baba12e0931aa1ad02a8a2c4ec1 | |
parent | c37a4939026622e3751e9188a3079def89171153 (diff) | |
download | samba-9aa79c11f07624d10f49a6840e93e84739997ffe.tar.gz samba-9aa79c11f07624d10f49a6840e93e84739997ffe.tar.bz2 samba-9aa79c11f07624d10f49a6840e93e84739997ffe.zip |
s3:net idmap: use lp_idmap_default_backend() now that we have it.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Christian Ambach <ambi@samba.org>
-rw-r--r-- | source3/utils/net_idmap.c | 2 |
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; |