ldap3.protocol.convert module

ldap3.protocol.convert.attribute_to_dict(attribute)
ldap3.protocol.convert.attributes_to_dict(attributes)
ldap3.protocol.convert.attributes_to_list(attributes)
ldap3.protocol.convert.authentication_choice_to_dict(authentication_choice)
ldap3.protocol.convert.ava_to_dict(ava)
ldap3.protocol.convert.build_controls_list(controls)

controls is a list of Control() or tuples each tuple must have 3 elements: the control OID, the criticality, the value criticality must be a boolean

ldap3.protocol.convert.change_to_dict(change)
ldap3.protocol.convert.changes_to_list(changes)
ldap3.protocol.convert.partial_attribute_to_dict(modification)
ldap3.protocol.convert.prepare_changes_for_request(changes)
ldap3.protocol.convert.prepare_filter_for_sending(raw_string)
ldap3.protocol.convert.prepare_for_sending(raw_string)
ldap3.protocol.convert.referrals_to_list(referrals)
ldap3.protocol.convert.sasl_to_dict(sasl)
ldap3.protocol.convert.search_refs_to_list(search_refs)
ldap3.protocol.convert.search_refs_to_list_fast(search_refs)
ldap3.protocol.convert.substring_to_dict(substring)
ldap3.protocol.convert.validate_assertion_value(schema, name, value, auto_escape, auto_encode)
ldap3.protocol.convert.validate_attribute_value(schema, name, value, auto_encode)