The proprietary exclude branch request control may be included in a search request to indicate that the server should exclude matching entries in one or more subtrees. The control has an OID of, and it takes a value. The following fields may be present in the value-json representation of the value:

The following sample shows the JSON encoding for the control:

  "control-name":"Exclude Branch Request Control",
      "base-dns":[ "ou=excluded 1,dc=example,dc=com",
                              "ou=excluded 2,dc=example,dc=com"