summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-04 12:31:34 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-04 14:27:40 +0100
commitf92055f298a94ee53ed409f425198d0942238a8c (patch)
tree7c311bfd7c57f00744e5ad06f56b46fb28321a75 /source4
parent929063bb126b45cfe175a0e9518905bfcc8c95a2 (diff)
downloadsamba-f92055f298a94ee53ed409f425198d0942238a8c.tar.gz
samba-f92055f298a94ee53ed409f425198d0942238a8c.tar.bz2
samba-f92055f298a94ee53ed409f425198d0942238a8c.zip
s4:dsdb/common/util_samr.c and auth/sam.c - fix error message
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/sam.c2
-rw-r--r--source4/dsdb/common/util_samr.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/sam.c b/source4/auth/sam.c
index 2b3ed91065..0da36ea736 100644
--- a/source4/auth/sam.c
+++ b/source4/auth/sam.c
@@ -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);
diff --git a/source4/dsdb/common/util_samr.c b/source4/dsdb/common/util_samr.c
index e6c7797eac..621c9be35e 100644
--- a/source4/dsdb/common/util_samr.c
+++ b/source4/dsdb/common/util_samr.c
@@ -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;