[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Access to monitorIsShadow
> I'm trying to determine whether a particular suffix on a particular server
> is a master or a slave (ITS #3696). I thought I could do something like:
>
> % ldapsearch -LLL -h mippet -b cn=Databases,cn=Monitor \
> "(&(structuralObjectClass=monitoredObject)(namingContexts=dc=id,dc=cordoors,dc=dev))"
> \
> monitorIsShadow
>
> and various other combinations, to no avail.
That's because namingContexts has no EQUALITY rule; try
"(&(objectClass=monitoredObject)(namingContexts:distinguishedNameMatch:=dc=id,dc=cordoors,dc=dev))"
p.
Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team
SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------