Hi!

 

I thought I had exported a subtree of out OpenLDAP 2.4 server, when I realized that the result is incomplete. So I started investigating (still OpenLDAP 2.4):

 

# ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b “$BASE” -s one  -o ldif-wrap=no '(objectClass=ipService)'

 

### produces a lot of entries but at least one specific entry is missing!

 

When trying to add the entry I get “Already exists (68)” from ldapadd for cn=zip@6/ddp, “$BASE

 

# ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b “$BASE” -s one  -o ldif-wrap=no '(cn=zip@6/ddp)'

 

Finds the entry

 

# ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b “$BASE” -s one  -o ldif-wrap=no ' (&(objectClass=ipService)(cn=zip@6/ddp))'

 

Also finds the entry

 

# ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b “$BASE” -s one  -o ldif-wrap=no '(&(objectClass=ipService))' | grep cn=zip

 

Results in no match

 

I don’t have a sizelimit set when searching.

 

Adding options like “-z 99999 -l 30” had no effect.

 

Any ideas?

 

When found the result looks like this:

# extended LDIF

#

# LDAPv3

# base <$BASE> with scope oneLevel

# filter: (&(objectClass=ipService)(cn=zip@6/ddp))

# requesting: ALL

#

 

# zip@6/ddp, services.net.sap.klinik.uni-regensburg.de

dn: cn=zip@6/ddp,$BASE

objectClass: ipService

ipServicePort: 6

ipServiceProtocol: ddp

cn: zip

cn: zip@6/ddp

description: Zone Information Protocol

 

# search result

search: 2

result: 0 Success

 

# numResponses: 2

# numEntries: 1

 

($BASE was substituted by me)

 

Kind regards,

Ulrich Windl