summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-12-02 02:57:06 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-12-02 18:47:59 +0100
commit03b078c5677c94468386323e5910137d422360ef (patch)
tree19ca3c819d54251164db4064f1eb684c7448e05c /source4
parentc1fef7efc7bfdd03049511cbfad8395439660912 (diff)
downloadsamba-03b078c5677c94468386323e5910137d422360ef.tar.gz
samba-03b078c5677c94468386323e5910137d422360ef.tar.bz2
samba-03b078c5677c94468386323e5910137d422360ef.zip
s4-dsdb/syntax: Map remote ATTIDs for Class OID syntax
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Dec 2 18:47:59 CET 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/schema/schema_syntax.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 1947a992cb..2f8f9a5834 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -984,6 +984,12 @@ static WERROR _dsdb_syntax_OID_obj_drsuapi_to_ldb(const struct dsdb_syntax_ctx *
v = IVAL(in->value_ctr.values[i].blob->data, 0);
+ /* convert remote ATTID to local ATTID */
+ if (!dsdb_syntax_attid_from_remote_attid(ctx, mem_ctx, v, &v)) {
+ DEBUG(1,(__location__ ": Failed to map remote ATTID to local ATTID!\n"));
+ return WERR_FOOBAR;
+ }
+
c = dsdb_class_by_governsID_id(ctx->schema, v);
if (!c) {
DEBUG(1,(__location__ ": Unknown governsID 0x%08X\n", v));