summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-01-07 06:04:35 +0200
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:03:04 +1100
commit3352e5d7bab3822249bbda685dbf7010ebac2681 (patch)
tree9ef9b268878aa9e027588ce221f4d76fad3ebfb7
parent25238110dfc0826c2e533a543d1ca44e1f9e058c (diff)
downloadsamba-3352e5d7bab3822249bbda685dbf7010ebac2681.tar.gz
samba-3352e5d7bab3822249bbda685dbf7010ebac2681.tar.bz2
samba-3352e5d7bab3822249bbda685dbf7010ebac2681.zip
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.
-rw-r--r--source4/dsdb/schema/schema_init.c3
1 files changed, 3 insertions, 0 deletions
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);