s3:idmap: don't log missing range config if range checking not requested
commit189afb40d2c8c61dde935be4c799e7da1ab8415b
authorMichael Adam <obnox@samba.org>
Sun, 20 Jul 2014 09:49:37 +0000 (20 11:49 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 7 Aug 2014 14:43:09 +0000 (7 16:43 +0200)
treef5ccc2b76f0fb51fa766902f5e93e64056c51628
parent9449ff4b9605aafbc3ff7cac02b1cd511cbcbec1
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>
(cherry picked from commit 3c6ec8908a697ac95536b35d242ccd64e524a0a5)
source3/winbindd/idmap.c