summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-21 16:43:02 -0800
committerJeremy Allison <jra@samba.org>2007-12-21 16:43:02 -0800
commit98bc591c4fac3a26796c596b55b735739d96c76b (patch)
tree2fe298c19363764db7ab7963d0080ed53ed046ec
parentf4db66eba109cc4540b25381f1b801442a7e97a7 (diff)
downloadsamba-98bc591c4fac3a26796c596b55b735739d96c76b.tar.gz
samba-98bc591c4fac3a26796c596b55b735739d96c76b.tar.bz2
samba-98bc591c4fac3a26796c596b55b735739d96c76b.zip
Add NT error to debug to try and track this down.
Jermey. (This used to be commit a1482b09150f4d292965c77bc73d47fb14f5eb85)
-rw-r--r--source3/winbindd/winbindd_group.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c
index 140943cc2c..fbd2fee692 100644
--- a/source3/winbindd/winbindd_group.c
+++ b/source3/winbindd/winbindd_group.c
@@ -1045,7 +1045,10 @@ static bool get_sam_group_entries(struct getent_state *ent)
status = domain->methods->enum_local_groups(domain, mem_ctx, &num_entries, &sam_grp_entries);
if ( !NT_STATUS_IS_OK(status) ) {
- DEBUG(3,("get_sam_group_entries: Failed to enumerate domain local groups!\n"));
+ DEBUG(3,("get_sam_group_entries: "
+ "Failed to enumerate "
+ "domain local groups with error %s!\n",
+ nt_errstr(status)));
num_entries = 0;
}
else