(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Developer's FAQ : (Category) OpenLDAP OID Registry : (Category) .666 : (Category) .11 : (Answer) .9
Schema items for the proxy cache.

Proxy cache OID arc:


  • queryId:
    Identifies a query. It is added to entries returned by that query.
                NAME 'queryId'
                DESC 'ID of query the entry belongs to, formatted as a UUID'
                EQUALITY octetStringMatch
                USAGE dsaOperation )
    NOTE: queryId should actually use UUID syntax (, but this would require unnecessary effort (the pretty and the normalized forms differ, ...)
  • cachedQueryUrl:
    Describes a query. It is used to store non-expired queries in the suffix entry of the private database if proxysavequeries is enabled, and, at startup, to either reload them if valid, or to dispose of them otherwise.
                NAME 'cachedQueryURL'
                DESC 'URI describing a cached query'
                EQUALITY caseExactMatch
                USAGE directoryOperation )
    URL representation:
          <base> ::= CachedQuery.qbase->base
          <scope> ::= CachedQuery.scope
          <filter> ::= filter2bv(CachedQuery.filter)
          <uuid> ::= CachedQuery.q_uuid
          <attrset> ::= CachedQuery.qtemp->attr_set_index
          <expiry> ::= CachedQuery.expiry_time


  • privateDB
    This control allows regular LDAP operations with respect to the private database instead of the proxied one, subjected to any specific restriction (e.g. access control, support for the specific operation).
            Control ::= SEQUENCE {
                 controlType             LDAPOID,
                 criticality             BOOLEAN DEFAULT FALSE,
                 controlValue            OCTET STRING OPTIONAL }
            controlType ::=
    criticality must be TRUE; controlValue must be absent.

Extended Operations:

  • queryDelete
    This operation allows to remove from the cache either a specific query, or all the queries related to a specific entry.
            ExtendedRequest ::= [APPLICATION 23] SEQUENCE {
                 requestName      [0] LDAPOID,
                 requestValue     [1] OCTET STRING OPTIONAL }
            requestName ::=
            requestValue ::= SEQUENCE { CHOICE {
                      baseDN           [0] LDAPDN,
                      entryDN          [1] LDAPDN },
                 queryID          [2] OCTET STRING (SIZE(16)) OPTIONAL
                      -- constrained to UUID }
    Either baseDN or entryDN must be present, to allow database selection.
            ExtendedResponse ::= [APPLICATION 24] SEQUENCE {
                 COMPONENTS OF LDAPResult,
                 responseName     [10] LDAPOID OPTIONAL,
                 responseValue    [11] OCTET STRING OPTIONAL }
    responseName and responseValue must be absent.

[Append to This Answer]
Previous: (Answer) .8
Next: (Answer) .10
This document is: http://www.openldap.org/faq/index.cgi?file=1420
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org