diff options
author | Michael Adam <obnox@samba.org> | 2014-07-20 11:49:37 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-07-25 11:52:10 +0200 |
commit | 3c6ec8908a697ac95536b35d242ccd64e524a0a5 (patch) | |
tree | bf58cff4fe6cb0940749005e709afebdbbf64228 /source3/winbindd | |
parent | dfc98d76b99c15404a3774790bee19e90f425ff7 (diff) | |
download | samba-3c6ec8908a697ac95536b35d242ccd64e524a0a5.tar.gz samba-3c6ec8908a697ac95536b35d242ccd64e524a0a5.tar.xz samba-3c6ec8908a697ac95536b35d242ccd64e524a0a5.zip |
s3:idmap: don't log missing range config if range checking not requested
idmap_init_domain() is called with check_range == false from
idmap_passdb_domain(). In this case, we usually don't have an
idmap range at all, and we don't want to level 1 debug
messages complaining about the fact are irritating at least.
This patch removes the debug in the case of check_range == false.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10737
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 674f54ced1..33b397ce66 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -198,9 +198,9 @@ static struct idmap_domain *idmap_init_domain(TALLOC_CTX *mem_ctx, range = lp_parm_const_string(-1, config_option, "range", NULL); if (range == NULL) { - DEBUG(1, ("idmap range not specified for domain %s\n", - result->name)); if (check_range) { + DEBUG(1, ("idmap range not specified for domain %s\n", + result->name)); goto fail; } } else if (sscanf(range, "%u - %u", &result->low_id, |