No idea about the base DN, but might a user filter help? For example, I’m using (&(objectClass=posixAccount)(givenName=*))
which causes Zammad only to import users that have a first name. (That’s admittedly a bit of a hack; I rather wanted to filter by group membership, but our LDAP is a bit crappy and doesn’t have memberOf
nor useful user attributes, and filtering by first name was the next best thing. You might have more luck depending on your LDAP structure…?)