From 17794737fedf095212cf45920dd1e29b5a1a9fa0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Tue, 14 May 2013 16:51:28 +0200 Subject: [PATCH] winbind/idmap_ad: be verbose about the user that we fail to map Reviewed-by: Stefan Metzmacher (cherry picked from commit f08205be7003f6c0a15fd5fd99d01951164ad15c) Reviewed-by: David Disseldorp --- source3/winbindd/idmap_ad.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index cf15f038ca0..2b35a4f59ab 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -457,7 +457,7 @@ again: ctx->ad_schema->posix_gidnumber_attr, &id)) { - DEBUG(1, ("Could not get unix ID\n")); + DEBUG(1, ("Could not get SID for unix ID %u\n", (unsigned) id)); continue; } @@ -654,7 +654,8 @@ again: ctx->ad_schema->posix_gidnumber_attr, &id)) { - DEBUG(1, ("Could not get unix ID\n")); + DEBUG(1, ("Could not get unix ID for SID %s\n", + sid_string_dbg(map->sid))); continue; } if (!idmap_unix_id_is_in_range(id, dom)) { -- 2.34.1