Add NT error to debug to try and track this down.
authorJeremy Allison <jra@samba.org>
Sat, 22 Dec 2007 00:43:02 +0000 (16:43 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 22 Dec 2007 00:43:02 +0000 (16:43 -0800)
Jermey.
(This used to be commit a1482b09150f4d292965c77bc73d47fb14f5eb85)

source3/winbindd/winbindd_group.c

index 140943cc2c97b3dbec40c7180bbc1d43f59a445f..fbd2fee692370d1f4915b82e6ab337696a506c73 100644 (file)
@@ -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