On Tue, 2011-12-20 at 12:06 +0200, Nikolaos Milas wrote: > > Isn't that basically the same as an empty filter? What other types of > > objectClasses are there with user accounts? Perhaps the default should > > be changed to empty, or maybe to (uid=*) > > > > I agree that the default should be changed to empty.
But that also returns non-user results, like at least in my test setup it returns an organization and admin. > There are various ObjectClasses available. > > For example, for normal user accounts (physical persons) the main > objectClass we use is inetOrgPerson (with its parents: > organizationalPerson, person) and for other, non-personal accounts we > use objectClass: account. So you can have Dovecot accounts that aren't "person"s? Perhaps: iterate_filter = (uid=*)