git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b4fec6
)
enable one-level indexing in sam.ldb
author
Andrew Tridgell
<tridge@samba.org>
Thu, 28 May 2009 06:08:49 +0000
(16:08 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 28 May 2009 06:08:49 +0000
(16:08 +1000)
source4/dsdb/schema/schema_set.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_set.c
b/source4/dsdb/schema/schema_set.c
index dcaeb4fc89b06b58e01843ff0c7992d81e816627..b94993574c3edb3da45537a5fbaad9e9c9d3665c 100644
(file)
--- 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;