summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2013-05-14 16:51:28 +0200
committerStefan Metzmacher <metze@samba.org>2013-05-14 19:53:29 +0200
commitf08205be7003f6c0a15fd5fd99d01951164ad15c (patch)
treea0b98f4aa8b9373f4ebfe094070b34a56f988340
parent5868accc71e15e27aef6fb74036a3f1f439200b8 (diff)
downloadsamba-f08205be7003f6c0a15fd5fd99d01951164ad15c.tar.gz
samba-f08205be7003f6c0a15fd5fd99d01951164ad15c.tar.bz2
samba-f08205be7003f6c0a15fd5fd99d01951164ad15c.zip
winbind/idmap_ad: be verbose about the user that we fail to map
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-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 5bafa90299..1ed6570b0e 100644
--- a/source3/winbindd/idmap_ad.c
+++ b/source3/winbindd/idmap_ad.c
@@ -323,7 +323,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;
}
@@ -520,7 +520,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)) {