I'm having a problem with the following query:

(&(|(ou:dn:=aliases)(ou:dn:=users))(|(mail=EMAILADDRESS)(cn=EMAILADDRESS)))

as far as I know, this is legal LDAP and it used to work (EMAILADDRESS is filled in via the calling program - and in any case this should simply return "not found"). But I am now received the following:

ldapsearch -x '(&(|(ou:dn:=aliases)(ou:dn:=users))(|(mail=EMAILADDRESS)(cn=EMAILADDRESS)))'
# extended LDIF
#
# LDAPv3
# base <dc=amfes,dc=lan> (default) with scope subtree
# filter: (&(|(ou:dn:=aliases)(ou:dn:=users))(|(mail=EMAILADDRESS)(cn=EMAILADDRESS)))
# requesting: ALL
#

# search result
search: 2
result: 1 Operations error
text: OPERATIONS_ERROR: failed for MessageType : SEARCH_REQUEST
Message ID :
 2
    SearchRequest
        baseDn : 'dc=amfes,dc=lan'
        filter : '(&(
|:[20](ou-true-EXTENSIBLE-null-0x61 0x6C 0x69 0x61 0x73 0x65 0x73 :[10])(ou-
 true-EXTENSIBLE-null-0x75 0x73 0x65 0x72 0x73 :[10]))(|:[∞](mail=emailaddr
 ess:[∞])(cn=emailaddress)))'
        scope : whole subtree
        typesOn
 ly : false
        Size Limit : no limit
        Time Limit : no limit

    Deref Aliases : never Deref Aliases
        attributes :
org.apache.dire
 ctory.api.ldap.model.message.SearchRequestImpl@d94254e9: N O T I M P L E M
  E N T E D   Y E T !

# numResponses: 1

--
Daniel

Reply via email to