def METHOD_NAME(
    self,
    search_base: str,
    search_filter: str,
    search_scope: Literal["BASE", "LEVEL", "SUBTREE"] = "SUBTREE",
    dereference_aliases: Literal["NEVER", "SEARCH", "FINDING_BASE", "ALWAYS"] = "ALWAYS",
    attributes: Incomplete | None = None,
    size_limit: int = 0,
    time_limit: int = 0,
    types_only: bool = False,
    get_operational_attributes: bool = False,
    controls: Incomplete | None = None,
    paged_size: int | None = None,
    paged_criticality: bool = False,
    paged_cookie: str | bytes | None = None,
    auto_escape: bool | None = None,
): ...