summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2013-05-14 16:51:28 +0200
committerKarolin Seeger <kseeger@samba.org>2013-06-19 10:58:34 +0200
commit17794737fedf095212cf45920dd1e29b5a1a9fa0 (patch)
tree365f66e14b896f85acabea2ebe4442d347b440e0 /source3
parent1f601d14d0ee440126d7202924e5cf7af88f6ea3 (diff)
downloadsamba-17794737fedf095212cf45920dd1e29b5a1a9fa0.tar.gz
winbind/idmap_ad: be verbose about the user that we fail to map
Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit f08205be7003f6c0a15fd5fd99d01951164ad15c) Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_ad.c5
1 files 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)) {