catch ldap.NO_SUCH_OBJECT for calls to ldap.search_s