[Date Prev][Date Next] [Chronological] [Thread] [Top]

Multiply objectclass- different responces (ITS#1413)

Full_Name: Dmitry
Version: 2.0.15
OS: Linux Slack 7.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


Structure of the LDIF record is

dn: uid=divanov,ou=TM, ou=project, o=company       
cn: Dmitry Ivanov                          
sn: Ivanov                                 
givenname: Dmitry                          
mail: dmitry.ivanov@mailhost.org               
uid: divanov                               
objectclass: nsCalUser                     
objectclass: top                           
objectclass: person                        
objectclass: organizationalPerson          
objectclass: inetOrgPerson                 
objectclass: mailRecipient                 
objectclass: nsLicenseUser                 
ou: TM                                     
mailhost: mailhost1.org

When I try to search:

%ldapsearch -v -z 0 -L -S "" -b "ou=TM, ou=project, o=company"

it returns only first record

but if

%ldapsearch -v -z 0 -L -S "" -b "ou=TM, ou=project, o=company"
 it will return all records

In OpenLDAP 1.2.11 both request returns the same results.