s3:idmap: don't log missing range config if range checking not requested
authorMichael Adam <obnox@samba.org>
Sun, 20 Jul 2014 09:49:37 +0000 (11:49 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 25 Jul 2014 09:52:10 +0000 (11:52 +0200)
commit3c6ec8908a697ac95536b35d242ccd64e524a0a5
treebf58cff4fe6cb0940749005e709afebdbbf64228
parentdfc98d76b99c15404a3774790bee19e90f425ff7
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>
source3/winbindd/idmap.c