From 3352e5d7bab3822249bbda685dbf7010ebac2681 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Thu, 7 Jan 2010 06:04:35 +0200 Subject: s4/dsdb_schema: Load msDS-IntId value separately when loading from LDB This way we have consistent behavior when loading from DRSUAPI and from LDB. --- source4/dsdb/schema/schema_init.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/dsdb/schema/schema_init.c') diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index 77e4d3590d..99d41069b7 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -568,6 +568,9 @@ WERROR dsdb_attribute_from_ldb(struct ldb_context *ldb, return status; } } + /* fetch msDS-IntId to be used in resolving ATTRTYP values */ + GET_UINT32_LDB(msg, "msDS-IntId", attr, msDS_IntId); + GET_GUID_LDB(msg, "schemaIDGUID", attr, schemaIDGUID); GET_UINT32_LDB(msg, "mAPIID", attr, mAPIID); -- cgit