s4:dsdb/common/util_samr.c and auth/sam.c - fix error message
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 4 Dec 2010 11:31:34 +0000 (12:31 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sat, 4 Dec 2010 13:27:40 +0000 (14:27 +0100)
source4/auth/sam.c
source4/dsdb/common/util_samr.c

index 2b3ed91065c49476a454dc6d91d126da19b50bf4..0da36ea7360bd6399154623ac0a1c8c84622f06b 100644 (file)
@@ -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);
index e6c7797eac2bd864c87b73cf76daeaecad1fd321..621c9be35e4b3907876d29ccd008ecddae499579 100644 (file)
@@ -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;