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

ldapsearch and non existing objectclasses (ITS#3251)

Full_Name: Cajus Pollmeier
Version: 2.1.30
OS: Debian GNU/Linux, sid
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I'm running openldap 2.1.30 on a debian system and there's a problem with
queries for not defined object classes:


# ldapsearch -x '(!(objectClass=posixGroup))'

returns all objects with no posixGroup object class. But I was wondering why

# ldapsearch -x '(!(objectClass=asdf))'

does return nothing. I tried this on a sunOne test installation on another 
machine and it reacts like expected - returning all objects.