handling of ldap result message added
only make search filter buffer as big as needed