From 6b188fbad47f04f3a9b8979a04a0f70d10b4ada9 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Wed, 27 Oct 2010 22:29:40 +0300 Subject: 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) --- source4/dsdb/schema/schema_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/dsdb') 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, -- cgit