s4:auth/sam.c - when printing out a string buffer we don't strictly need the width
[metze/samba/wip.git] / source4 / auth / sam.c
index 675c37682dbe668ae933b9f9521de0d13fbfe5e0..2b3ed91065c49476a454dc6d91d126da19b50bf4 100644 (file)
@@ -324,8 +324,8 @@ NTSTATUS authsam_expand_nested_groups(struct ldb_context *sam_ctx,
        dn = ldb_dn_from_ldb_val(tmp_ctx, sam_ctx, dn_val);
        if (dn == NULL) {
                talloc_free(tmp_ctx);
-               DEBUG(0, (__location__ ": we failed parsing DN %*.*s, so we cannot calculate the group token\n",
-                         (int)dn_val->length, (int)dn_val->length, dn_val->data));
+               DEBUG(0, (__location__ ": we failed parsing DN %.*s, so we cannot calculate the group token\n",
+                         (int)dn_val->length, dn_val->data));
                return NT_STATUS_INTERNAL_DB_CORRUPTION;
        }