I don't remember if this is a design decision or not but it seems strange that LDAPQuery doesn't call any callbacks. It's possible to register callbacks but they just aren't run at all.
Typically the class contains:
for callback in self.get_callbacks('pre'): dn = callback(self, ldap, dn, attrs_list, *keys, **options) assert isinstance(dn, DN) <work, perhaps the exc callback> for callback in self.get_callbacks('post'): entry_attrs.dn = callback( self, ldap, entry_attrs.dn, entry_attrs, *keys, **options)
But LDAPQuery doesn't define its own execute (so also not LDAPMultiQuery)
So this ticket is for two purposes:
Login to comment on this ticket.