From 52cfffb8cba92e272224febd3d8df68b93e29bc7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 28 May 2009 16:08:49 +1000 Subject: enable one-level indexing in sam.ldb --- source4/dsdb/schema/schema_set.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4') diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c index dcaeb4fc89..b94993574c 100644 --- a/source4/dsdb/schema/schema_set.c +++ b/source4/dsdb/schema/schema_set.c @@ -86,6 +86,11 @@ static int dsdb_schema_set_attributes(struct ldb_context *ldb, struct dsdb_schem goto op_error; } + ret = ldb_msg_add_string(msg_idx, "@IDXONE", "1"); + if (ret != LDB_SUCCESS) { + goto op_error; + } + for (attr = schema->attributes; attr; attr = attr->next) { const char *syntax = attr->syntax->ldb_syntax; -- cgit