git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18744a9
)
s4-schema_syntax: We should use make_ATTID function when converting remote-ATTID...
author
Kamen Mazdrashki
<kamenim@samba.org>
Fri, 10 Dec 2010 02:03:00 +0000
(
04:03
+0200)
committer
Kamen Mazdrashki
<kamenim@samba.org>
Tue, 14 Dec 2010 23:51:19 +0000
(
00:51
+0100)
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
source4/dsdb/schema/schema_syntax.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_syntax.c
b/source4/dsdb/schema/schema_syntax.c
index 1c30065618e5110cec4eb26c488b94bf2b529b01..713edbb54621b4d3aeb454dc205fa5d55088cad2 100644
(file)
--- 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_o
id(ctx->schema->prefixmap, oid, id_local);
+ werr = dsdb_schema_pfm_
make_att
id(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;