Bug #6105
Updated by François ARMAND almost 10 years ago
In #5965, we remove all OpenLDAP indexes from slapd.conf. So, we need to also remove them from the filesystem and reindexes OpenLDAP to be sur to not have corrupted states in OpenLDAP. The know indexes (for differente version of Rudder) are: are file are (in /var/rudder/ldap/openldap-data): /var/rudder/ldap/openldap-data/activeTechniqueId.bdb /var/rudder/ldap/openldap-data/cn.bdb /var/rudder/ldap/openldap-data/container.bdb /var/rudder/ldap/openldap-data/directiveId.bdb /var/rudder/ldap/openldap-data/isDynamic.bdb /var/rudder/ldap/openldap-data/isEnabled.bdb /var/rudder/ldap/openldap-data/isModified.bdb /var/rudder/ldap/openldap-data/isSystem.bdb /var/rudder/ldap/openldap-data/machineId.bdb /var/rudder/ldap/openldap-data/nodeGroupId.bdb /var/rudder/ldap/openldap-data/nodeId.bdb /var/rudder/ldap/openldap-data/ruleId.bdb /var/rudder/ldap/openldap-data/software.bdb /var/rudder/ldap/openldap-data/softwareId.bdb /var/rudder/ldap/openldap-data/softwareVersion.bdb /var/rudder/ldap/openldap-data/techniqueCategoryId.bdb /var/rudder/ldap/openldap-data/techniqueId.bdb /var/rudder/ldap/openldap-data/uuid.bdb It is normal to have (and we must keep): /var/rudder/ldap/openldap-data/dn2id.bdb /var/rudder/ldap/openldap-data/id2entry.bdb /var/rudder/ldap/openldap-data/objectClass.bdb A reindex must be done, to.