diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-11-08 23:08:59 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-11-08 23:08:59 +0000 |
commit | c19598f2a6a3329e973e14e389e0577ebb914f3b (patch) | |
tree | a3a5040c9598eb21ca60ba73f16061828a08493d /source3/rpc_server | |
parent | 3b90ef84a5907ca5a1bc460adab5f52e940b5b72 (diff) | |
download | samba-c19598f2a6a3329e973e14e389e0577ebb914f3b.tar.gz samba-c19598f2a6a3329e973e14e389e0577ebb914f3b.tar.bz2 samba-c19598f2a6a3329e973e14e389e0577ebb914f3b.zip |
Merge from HEAD:
- change auth_sam to use the initialisation flags to determine if
the password attributes are set
- add const to secrets.c, cliconnect.c
- passdb: fix spelling in pdb_ldap, add group mapping back to smbpasswd
- SAMR: add debugs to show what fails for group enum.
Andrew Bartlett
(This used to be commit 4e74d00b3634abf52aa24bfaa6dbe88202aa57a1)
Diffstat (limited to 'source3/rpc_server')
-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 7b611922f6..0b5870b16c 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; } |