From 89899f55dc1fb137a0adfd734c87b65039f598a4 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Thu, 19 Aug 2010 03:17:36 +0300 Subject: s4-drs: ATTIDs for deleted attributes should be based on msDs-IntId value if it exists --- source4/dsdb/schema/schema_syntax.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/schema/schema_syntax.c') diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c index 213871bc53..db53aea612 100644 --- a/source4/dsdb/schema/schema_syntax.c +++ b/source4/dsdb/schema/schema_syntax.c @@ -57,8 +57,8 @@ void dsdb_syntax_ctx_init(struct dsdb_syntax_ctx *ctx, * Schema NC or msDs-IntId is set for schemaAttribute * for the attribute. */ -static uint32_t dsdb_attribute_get_attid(const struct dsdb_attribute *attr, - bool for_schema_nc) +uint32_t dsdb_attribute_get_attid(const struct dsdb_attribute *attr, + bool for_schema_nc) { if (!for_schema_nc && attr->msDS_IntId) { return attr->msDS_IntId; -- cgit