mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s4:dsdb/common/util_samr.c and auth/sam.c - fix error message
This commit is contained in:
parent
929063bb12
commit
f92055f298
@ -337,7 +337,7 @@ NTSTATUS authsam_expand_nested_groups(struct ldb_context *sam_ctx,
|
||||
talloc_free(tmp_ctx);
|
||||
return NT_STATUS_OK;
|
||||
} else if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(0, (__location__ ": when parsing DN %s we failed to parse our SID component, so we cannot calculate the group token: %s\n",
|
||||
DEBUG(0, (__location__ ": when parsing DN '%s' we failed to parse it's SID component, so we cannot calculate the group token: %s\n",
|
||||
ldb_dn_get_extended_linearized(tmp_ctx, dn, 1),
|
||||
nt_errstr(status)));
|
||||
talloc_free(tmp_ctx);
|
||||
|
@ -463,8 +463,8 @@ NTSTATUS dsdb_enum_group_mem(struct ldb_context *ldb,
|
||||
* it could be a non SAM object - e.g. a contact */
|
||||
continue;
|
||||
} else if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(1, ("When parsing DN %s we failed to parse our SID component, so we cannot fetch the membership: %s\n",
|
||||
ldb_dn_get_extended_linearized(tmp_ctx, dn, 1),
|
||||
DEBUG(1, ("When parsing DN '%s' we failed to parse it's SID component, so we cannot fetch the membership: %s\n",
|
||||
ldb_dn_get_extended_linearized(tmp_ctx, member_dn, 1),
|
||||
nt_errstr(status)));
|
||||
talloc_free(tmp_ctx);
|
||||
return status;
|
||||
|
Loading…
x
Reference in New Issue
Block a user