diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-11-08 22:14:31 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-11-08 22:14:31 +0000 |
commit | aa208a58e260cfaec6abdc8560491d28b60d7380 (patch) | |
tree | eed422489bc8136fb0b8f37604a2e75c314c04ac | |
parent | d03b002d1280cc63b12c7fb3ec7635622d6ca0ca (diff) | |
download | samba-aa208a58e260cfaec6abdc8560491d28b60d7380.tar.gz samba-aa208a58e260cfaec6abdc8560491d28b60d7380.tar.bz2 samba-aa208a58e260cfaec6abdc8560491d28b60d7380.zip |
Make it easier to track things down here - add some debugs on failure.
(This used to be commit 62ee7b7dc08e7be261211de8f85b8e9be4df7b54)
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index b039d92d9c..66556e3acb 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -303,6 +303,7 @@ static NTSTATUS load_group_domain_entries(struct samr_info *info, DOM_SID *sid) } if (!pdb_enum_group_mapping(SID_NAME_DOM_GRP, &map, (int *)&group_entries, ENUM_ONLY_MAPPED, MAPPING_WITHOUT_PRIV)) { + DEBUG(1, ("load_group_domain_entries: pdb_enum_group_mapping() failed!\n")); return NT_STATUS_NO_MEMORY; } @@ -311,6 +312,7 @@ static NTSTATUS load_group_domain_entries(struct samr_info *info, DOM_SID *sid) grp_array=(DISP_GROUP_INFO *)talloc(mem_ctx, info->disp_info.num_group_account*sizeof(DISP_GROUP_INFO)); if (group_entries!=0 && grp_array==NULL) { + DEBUG(1, ("load_group_domain_entries: talloc() failed for grp_array!\n")); SAFE_FREE(map); return NT_STATUS_NO_MEMORY; } |