summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-12-02 00:32:10 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-12-02 19:02:54 +0200
commit5bc11855f6d1b9ae4a7a653028f0614e797dd974 (patch)
treedea840f7c515b38e1e9336db09c4e0e9f4148170
parent1b7070039f9e88b8ab0683cc9d1650c2feda7484 (diff)
downloadsamba-5bc11855f6d1b9ae4a7a653028f0614e797dd974.tar.gz
samba-5bc11855f6d1b9ae4a7a653028f0614e797dd974.tar.bz2
samba-5bc11855f6d1b9ae4a7a653028f0614e797dd974.zip
s4-dsdb_syntax: Be a little bit more chatty when we can't an ATTID in our cache
-rw-r--r--source4/dsdb/schema/schema_syntax.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index ab37f66478..1947a992cb 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;
}