mrc0mmand / rpms / openldap

Forked from rpms/openldap 3 years ago
Clone

Blame SOURCES/openldap-fix-missing-frontend-indexing.patch

d198f9
--- a/servers/slapd/bconfig.c	2015-06-02 14:37:10.930873419 +0200
d198f9
+++ b/servers/slapd/bconfig.c	2015-06-02 14:37:35.105233408 +0200
d198f9
@@ -4679,7 +4679,7 @@
d198f9
 	if ( ce_type == Cft_Database )
d198f9
 		nsibs--;
d198f9
 
d198f9
-	if ( index != nsibs ) {
d198f9
+	if ( index != nsibs || isfrontend) {
d198f9
 		if ( gotindex ) {
d198f9
 			if ( index < nsibs ) {
d198f9
 				if ( tailindex ) return LDAP_NAMING_VIOLATION;