diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-05-28 16:08:49 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-05-28 16:08:49 +1000 |
commit | 52cfffb8cba92e272224febd3d8df68b93e29bc7 (patch) | |
tree | f0c4738993886e82998bbe92967c050ab8505996 /source4 | |
parent | 4b4fec65db4e202afa13b2d15867f4d8a54d154e (diff) | |
download | samba-52cfffb8cba92e272224febd3d8df68b93e29bc7.tar.gz samba-52cfffb8cba92e272224febd3d8df68b93e29bc7.tar.bz2 samba-52cfffb8cba92e272224febd3d8df68b93e29bc7.zip |
enable one-level indexing in sam.ldb
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/schema/schema_set.c | 5 |
1 files changed, 5 insertions, 0 deletions
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; |