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 ?
--On Wednesday, October 21, 2015 1:50 PM +0200 Croesus Kall croesuskall@gmail.com wrote:
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:
It works fine with data dbs, however it is definitely broken for cn=config.
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
--On Wednesday, October 21, 2015 2:17 PM -0700 Quanah Gibson-Mount quanah@zimbra.com wrote:
It works fine with data dbs, however it is definitely broken for cn=config.
Missing matching rule: http://www.openldap.org/its/index.cgi/?findid=8286
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org