From 5bc11855f6d1b9ae4a7a653028f0614e797dd974 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Thu, 2 Dec 2010 00:32:10 +0200 Subject: [PATCH] s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cache --- source4/dsdb/schema/schema_syntax.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c index ab37f66478e..1947a992cb6 100644 --- a/source4/dsdb/schema/schema_syntax.c +++ b/source4/dsdb/schema/schema_syntax.c @@ -986,6 +986,7 @@ static WERROR _dsdb_syntax_OID_obj_drsuapi_to_ldb(const struct dsdb_syntax_ctx * c = dsdb_class_by_governsID_id(ctx->schema, v); if (!c) { + DEBUG(1,(__location__ ": Unknown governsID 0x%08X\n", v)); return WERR_FOOBAR; } @@ -1032,12 +1033,13 @@ static WERROR _dsdb_syntax_OID_attr_drsuapi_to_ldb(const struct dsdb_syntax_ctx /* convert remote ATTID to local ATTID */ if (!dsdb_syntax_attid_from_remote_attid(ctx, mem_ctx, v, &v)) { - DEBUG(0,(__location__ "Failed to map remote ATTID to local ATTID!\n")); + DEBUG(1,(__location__ ": Failed to map remote ATTID to local ATTID!\n")); return WERR_FOOBAR; } a = dsdb_attribute_by_attributeID_id(ctx->schema, v); if (!a) { + DEBUG(1,(__location__ ": Unknown attributeID_id 0x%08X\n", v)); return WERR_FOOBAR; } -- 2.11.4.GIT