1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s4:gensec Use an index on computerName in schannel.ldb

This commit is contained in:
Andrew Bartlett 2009-10-22 18:21:02 +11:00 committed by Andrew Tridgell
parent 44a727479e
commit b7f71c9407

View File

@ -38,7 +38,10 @@ struct ldb_context *schannel_db_connect(TALLOC_CTX *mem_ctx, struct tevent_conte
const char *init_ldif =
"dn: @ATTRIBUTES\n" \
"computerName: CASE_INSENSITIVE\n" \
"flatname: CASE_INSENSITIVE\n";
"flatname: CASE_INSENSITIVE\n" \
"\n" \
"dn: @INDEXLIST\n" \
"@IDXATTR: computerName\n\n";
path = private_path(mem_ctx, lp_ctx, "schannel.ldb");
if (!path) {