ldap3.protocol.persistentSearch module

class ldap3.protocol.persistentSearch.ChangeType(value=NoValue(), **kwargs)

Bases: pyasn1.type.univ.Enumerated

namedValues = NamedValues((('modDN', 8), ('add', 1), ('delete', 2), ('modify', 4)))
class ldap3.protocol.persistentSearch.EntryChangeNotificationControl(**kwargs)

Bases: pyasn1.type.univ.Sequence

componentType = NamedTypes(NamedType('changeType', ChangeType()), OptionalNamedType('previousDN', LDAPDN()), OptionalNamedType('changeNumber', Integer()))
class ldap3.protocol.persistentSearch.PersistentSearchControl(**kwargs)

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)