git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
winbind/idmap_ad: be verbose about the user that we fail to map
[samba.git]
/
source3
/
winbindd
/
idmap_ad.c
diff --git
a/source3/winbindd/idmap_ad.c
b/source3/winbindd/idmap_ad.c
index cf15f038ca0caf40cdaf7a022bc9844772d04ad7..2b35a4f59ab0f671e83cd071640237d13da698b0 100644
(file)
--- a/
source3/winbindd/idmap_ad.c
+++ b/
source3/winbindd/idmap_ad.c
@@
-457,7
+457,7
@@
again:
ctx->ad_schema->posix_gidnumber_attr,
&id))
{
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;
}
continue;
}
@@
-654,7
+654,8
@@
again:
ctx->ad_schema->posix_gidnumber_attr,
&id))
{
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)) {
continue;
}
if (!idmap_unix_id_is_in_range(id, dom)) {