summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-05-21 16:37:58 -0400
committerMartin Kosek <mkosek@redhat.com>2012-05-22 08:27:22 +0200
commitce11a7c0e22ee8f70e14c43419f20be70176fe8c (patch)
treebf40792c4e687eacb961ab45af4f10d8367f5b11
parent608d297cb9f19b80587514b7a7cfa3b686ecf3e7 (diff)
downloadfreeipa-ce11a7c0e22ee8f70e14c43419f20be70176fe8c.tar.gz
freeipa-ce11a7c0e22ee8f70e14c43419f20be70176fe8c.tar.xz
freeipa-ce11a7c0e22ee8f70e14c43419f20be70176fe8c.zip
Index the fqdn attribute.
We do a search on this when installing a replica. https://fedorahosted.org/freeipa/ticket/2735
-rw-r--r--install/share/indices.ldif9
-rw-r--r--install/updates/20-indices.update8
2 files changed, 17 insertions, 0 deletions
diff --git a/install/share/indices.ldif b/install/share/indices.ldif
index 05c276554..1b1ba7df9 100644
--- a/install/share/indices.ldif
+++ b/install/share/indices.ldif
@@ -91,3 +91,12 @@ dn: cn=ntUserDomainId,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
changetype: modify
replace: nsIndexType
nsIndexType: eq,pres
+
+dn: cn=fqdn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+changetype: add
+ObjectClass: top
+ObjectClass: nsIndex
+cn: fqdn
+nsSystemIndex: false
+nsIndexType: eq
+nsIndexType: pres
diff --git a/install/updates/20-indices.update b/install/updates/20-indices.update
index b0e2f36b8..9592a7a96 100644
--- a/install/updates/20-indices.update
+++ b/install/updates/20-indices.update
@@ -32,3 +32,11 @@ default:ObjectClass: top
default:ObjectClass: nsIndex
default:nsSystemIndex: false
default:nsIndexType: eq
+
+dn: cn=fqdn,cn=index,cn=userRoot,cn=ldbm database,cn=plugins,cn=config
+default:cn: fqdn
+default:ObjectClass: top
+default:ObjectClass: nsIndex
+default:nsSystemIndex: false
+default:nsIndexType: eq
+default:nsIndexType: pres