s3:winbindd/idmap_ad: add entry debug message to nss_ad_get_info()
authorMichael Adam <obnox@samba.org>
Sun, 30 Nov 2008 21:50:26 +0000 (22:50 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 1 Dec 2008 03:37:22 +0000 (04:37 +0100)
Michael

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;