diff options
author | Martin Basti <mbasti@redhat.com> | 2016-06-07 10:43:50 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2016-06-17 15:22:24 +0200 |
commit | 0f5cca0e45481520d25b20b48f939b2581f4d27b (patch) | |
tree | 6618ed42e4f0ad18467c27e27876ae69f3d4884c | |
parent | 85d083c36651b15457af75e009f83bc6bb8114b0 (diff) | |
download | freeipa-0f5cca0e45481520d25b20b48f939b2581f4d27b.tar.gz freeipa-0f5cca0e45481520d25b20b48f939b2581f4d27b.tar.xz freeipa-0f5cca0e45481520d25b20b48f939b2581f4d27b.zip |
DNS Locations: add index for ipalocation attribute
For performace ipalocation should be indexed because it is used by
referint plugin
https://fedorahosted.org/freeipa/ticket/2008
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
-rw-r--r-- | install/share/indices.ldif | 9 | ||||
-rw-r--r-- | install/updates/20-indices.update | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/install/share/indices.ldif b/install/share/indices.ldif index 8c4913b56..4ea4a876d 100644 --- a/install/share/indices.ldif +++ b/install/share/indices.ldif @@ -258,3 +258,12 @@ ObjectClass: nsIndex nsSystemIndex: false nsIndexType: eq nsIndexType: pres + +dn: cn=ipalocation,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +changetype: add +cn: ipalocation +ObjectClass: top +ObjectClass: nsIndex +nsSystemIndex: false +nsIndexType: eq +nsIndexType: pres diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update index 9c12e0cb8..fe0845e98 100644 --- a/install/updates/20-indices.update +++ b/install/updates/20-indices.update @@ -231,3 +231,11 @@ default:ObjectClass: top default:ObjectClass: nsIndex only:nsIndexType: eq only:nsIndexType: pres + +dn: cn=ipalocation,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config +default:cn: ipalocation +default:ObjectClass: top +default:ObjectClass: nsIndex +default:nsSystemIndex: false +only:nsIndexType: eq +only:nsIndexType: pres |