[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ITS#6598
--On Thursday, September 09, 2010 6:45 PM +0000 masarati@aero.polimi.it
wrote:
> Committed to HEAD; please test. Thanks, p.
Doesn't appear to work to me.
This search returns 15 entries normally:
ldapsearch -x -H ldapi:/// -D cn=config -w zimbra -b ""
'(objectClass=zimbraAccount)' zimbraId
# numResponses: 16
# numEntries: 15
If you choose the control you get:
zimbra@zre-ldap003:~$ ldapsearch -x -H ldapi:/// -D cn=config -w zimbra -b
"" -e '1.3.6.1.4.1.4203.666.5.18' '(objectClass=zimbraAccount)' zimbraId
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectClass=zimbraAccount)
# requesting: zimbraId
#
# search result
search: 2
result: 0 Success
control: 1.3.6.1.4.1.4203.666.5.18 false MAkCAQACAQ8CAQA=
# numResponses: 1
MAkCAQACAQ8CAQA= decodes to a 0 followed by several spaces. If you try to
make it critical, it fails:
zimbra@zre-ldap003:~$ ldapsearch -x -H ldapi:/// -D cn=config -w zimbra -b
"" -e '!1.3.6.1.4.1.4203.666.5.18' '(objectClass=zimbraAccount)' zimbraId
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectClass=zimbraAccount)
# requesting: zimbraId
#
# search result
search: 2
result: 12 Critical extension is unavailable
text: critical control unavailable in context
# numResponses: 1
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration