s3:winbindd/idmap_ad: add entry debug message to nss_ad_get_info()
[metze/samba/wip.git] / source3 / winbindd / idmap_ad.c
index 967a36b3cef93e7ed060fe69d15ed7203de47cfd..05d7d98cae9c906fa2655efe315816ac8cb769ed 100644 (file)
@@ -830,6 +830,9 @@ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e,
        struct idmap_domain *dom;
        struct idmap_ad_context *ctx;
 
+       DEBUG(10, ("nss_ad_get_info called for sid [%s] in domain '%s'\n",
+                  sid_string_dbg(sid), e->domain?e->domain:"NULL"));
+
        /* Only do query if we are online */
        if (idmap_is_offline()) {
                return NT_STATUS_FILE_IS_OFFLINE;