diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-10-27 22:29:40 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-10-29 02:31:17 +0300 |
commit | 6b188fbad47f04f3a9b8979a04a0f70d10b4ada9 (patch) | |
tree | 9df85ae8912ff995b648e0a636f16c9c20ae2a17 | |
parent | 72189aef8d4c898b0537e1fb5a1493454feaef57 (diff) | |
download | samba-6b188fbad47f04f3a9b8979a04a0f70d10b4ada9.tar.gz samba-6b188fbad47f04f3a9b8979a04a0f70d10b4ada9.tar.bz2 samba-6b188fbad47f04f3a9b8979a04a0f70d10b4ada9.zip |
s4-schema_init: we should be able to resolve Syntax OIDs with prefixMap we have
If Syntax OID is not in the prefixMap then we are getting
an unknown Attribute Syntax (which we can't handle anyway)
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 4e1c14d019..836b2aed91 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -594,9 +594,9 @@ WERROR dsdb_attribute_from_ldb(struct ldb_context *ldb, /* set an invalid value */ attr->attributeSyntax_id = 0xFFFFFFFF; } else { - status = dsdb_schema_pfm_make_attid(schema->prefixmap, - attr->attributeSyntax_oid, - &attr->attributeSyntax_id); + status = dsdb_schema_pfm_attid_from_oid(schema->prefixmap, + attr->attributeSyntax_oid, + &attr->attributeSyntax_id); if (!W_ERROR_IS_OK(status)) { DEBUG(0,("%s: '%s': unable to map attributeSyntax_ %s: %s\n", __location__, attr->lDAPDisplayName, attr->attributeSyntax_oid, |