If idmapd does not find AD server information in its SMF properties it auto discovers AD servers. However after reading SMF properties but before auto discovering, idmapd always logs "idmapd: AD lookup disabled" message. This message is confusing to those administrating and testing idmap service. idmapd should not log this message before attempting auto discovery.
This message is logged by init.c:reload_ad() when default domain or global catalog server is not set. init.c:load_config() reads SMF properties and then calls reload_ad() even if the server/domain information was not found in SMF.