summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-12-10 04:03:00 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-12-15 00:51:19 +0100
commit3a8fa09c4f1691346dadf975bc456e696b09ef65 (patch)
tree79f98df14eb6dd9a296018211400dec28458d198 /source4/dsdb/schema
parent18744a95312666cad2c646c2bb550da4277968c1 (diff)
downloadsamba-3a8fa09c4f1691346dadf975bc456e696b09ef65.tar.gz
samba-3a8fa09c4f1691346dadf975bc456e696b09ef65.tar.bz2
samba-3a8fa09c4f1691346dadf975bc456e696b09ef65.zip
s4-schema_syntax: We should use make_ATTID function when converting remote-ATTID to local one
We may have no prefix for the remote ATTID (remote OID strictly speaking) So this is the place for us to update our local prefixMap adding a prefix for the numeric OID we've recived
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r--source4/dsdb/schema/schema_syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 1c30065618..713edbb546 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -97,7 +97,7 @@ static bool dsdb_syntax_attid_from_remote_attid(const struct dsdb_syntax_ctx *ct
return false;
}
- werr = dsdb_schema_pfm_attid_from_oid(ctx->schema->prefixmap, oid, id_local);
+ werr = dsdb_schema_pfm_make_attid(ctx->schema->prefixmap, oid, id_local);
if (!W_ERROR_IS_OK(werr)) {
DEBUG(0,("OID->ATTID failed (%s) for: %s\n", win_errstr(werr), oid));
return false;