ldap3.protocol.persistentSearch module

class ldap3.protocol.persistentSearch.ChangeType(value=NoValue(), tagSet=None, subtypeSpec=None, namedValues=None)

Bases: pyasn1.type.univ.Enumerated

namedValues = NamedValues(('add', 1), ('delete', 2), ('modify', 4), ('modDN', 8))
class ldap3.protocol.persistentSearch.EntryChangeNotificationControl(componentType=None, tagSet=None, subtypeSpec=None, sizeSpec=None)

Bases: pyasn1.type.univ.Sequence

componentType = NamedTypes(NamedType('changeType', ChangeType()), OptionalNamedType('previousDN', LDAPDN()), OptionalNamedType('changeNumber', Integer()))
class ldap3.protocol.persistentSearch.PersistentSearchControl(componentType=None, tagSet=None, subtypeSpec=None, sizeSpec=None)

Bases: pyasn1.type.univ.Sequence

componentType = NamedTypes(NamedType('changeTypes', Integer()), NamedType('changesOnly', Boolean()), NamedType('returnECs', Boolean()))
ldap3.protocol.persistentSearch.persistent_search_control(change_types, changes_only=True, return_ecs=True, criticality=False)