IDMAPD_DEBUG_DISC
idmapd_set_debug(handles, IDMAPD_DEBUG_DISC, "discovery");
adutils_set_debug(AD_DEBUG_DISC, _idmapdstate.debug[IDMAPD_DEBUG_DISC]);