directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Resolved] (DIRSERVER-1742) Searching using empty "" base DN or partial partition-suffix returns no results
Date Wed, 01 Aug 2012 03:50:34 GMT


Emmanuel Lecharny resolved DIRSERVER-1742.

    Resolution: Invalid

Assuming you are using the latest version (2.0.0-M7), the search using an empty base DN works
(see SearchIT, where I added a specific test to demonstrate that it works :

You should have used some bad filter or some bad scope (for instance, scope = ONE_LEVEL).

Regarding the other search (those with dc=com, etc), they will not work and this is plain
normal : you are using a baseDN which is invalid. You must start your search with a valid
NamingContext, as they are stored in the rootDSE. In your case, this is the complete DN dc=prd,dc=berbatik,
dc=com". dc=com does not exists per se.
> Searching using empty "" base DN or partial partition-suffix returns no results
> -------------------------------------------------------------------------------
>                 Key: DIRSERVER-1742
>                 URL:
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M7
>         Environment: Ubuntu 12.04 64-bit
>            Reporter: Hendy Irawan
> Searching using "" base DN returns no results, it requires the base DN to be in a partition.
> For example if I have two partitions :
> * dc=prd,dc=berbatik,dc=com
> * dc=stg,dc=berbatik,dc=com
> It's not possible to search entries using the following base DNs:
> 1. ""
> 2. dc=com
> 3. dc=berbatik,dc=com
> Currently it's needed to use at least the full partitionSuffix or a sub-entry.
> My use case is searching data held in several parititions at once, using only one LDAP
search query.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message