The pressing matter at this point is that I need to get my server (which is my master node) into a consistent state. As I see it, I have 2 options:
- remove (by some means) the olcOverlay={1}ppolicy,oldDatabase={2}hdb entry since it seems to be the cause of the inability to slapcat the cn=config can this be accomplished manually?
- reimport the cn=config backup I took last week before starting to add the ppolicy bits
My understanding is that at this point, restarting slapd would result in a non-start.
On Mon, Jun 8, 2020 at 10:47 AM Quanah Gibson-Mount quanah@symas.com wrote:
--On Monday, June 8, 2020 11:38 AM -0700 John Alexander jalexander@concentricsky.com wrote:
As Howard noted, there's no indiciation currently that the results of "slapcat" are of the actual config DB being used by slapd.
A copy of an older, unused config also doesn't really help much.
You *could* export the current cn=config being used by slapd via ldapsearch of course.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
--On Monday, June 8, 2020 11:59 AM -0700 John Alexander jalexander@concentricsky.com wrote:
The pressing matter at this point is that I need to get my server (which is my master node) into a consistent state. As I see it, I have 2 options:
- remove (by some means) the olcOverlay={1}ppolicy,oldDatabase={2}hdb
entry since it seems to be the cause of the inability to slapcat the cn=config can this be accomplished manually?
As I literaly just said:
There's no evidence that what is being provided by slapcat is what slapd is actually using.
Also, as I just literally stated, you *could* export the cn=config db via ldapsearch rather than slapcat, and have an exact copy of what slapd is currently using.
The output of both the ldapmodify & ldapsearch commands both contradict what your slapcat is reporting, so again your default slapcat path does not appear to match slapd's path to the config database.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org