Hi,
I am trying to use the ldapcompare command to evaluate a boolean value.
Namely I want to check if the olcMirrorMode attribute is set to false.
The command and result is:
ldapcompare -Y EXTERNAL -H ldapi:/// olcDatabase={0}config,cn=config "olcMirrorMode:FALSE"
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
Compare Result: Inappropriate matching (18)
Additional info: inappropriate matching request
UNDEFINED
Is there a way to tell the ldapcompare command that this is a boolean comparison ?
The attribute itself: olcMirrorMode / 1.3.6.1.4.1.4203.1.12.2.3.2.0.16
has a "booleanMatch" matching rule, so I'm guessing this should be possible ?