hi, i have a openldap 2.2.23 (official package 2.2.23-8 on debian stable):
backend bdb checkpoint 512 30
database bdb
suffix "dc=burp"
directory "/var/lib/ldap"
index objectClass eq
lastmod on
test:~# ldapsearch -x -D "cn=admin,dc=burp" -w <xxx> -s sub -b "dc=burp" "(objectClass=*o*)" # extended LDIF # # LDAPv3 # base <dc=burp> with scope sub # filter: (objectClass=*o*) # requesting: ALL #
# search result search: 2 result: 0 Success
Try adding an index sub to objectclass?