directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Extensible query
Date Mon, 10 Jul 2017 00:35:22 GMT
On Mon, Jul 10, 2017 at 2:00 AM, Daniel Miller <dmiller@amfes.com> wrote:

> 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:
>
This feature is not supported yet.

>
> 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
>
> Kiran Ayyagari

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message