[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: NOOP operation in LDAP



At 12:48 PM 4/2/01 -0400, Jean-Philippe Bouchard wrote:
>Hello,
>        I'm trying to implement a cache of ldap connections. Is there some kind
>of NOOP operation (a la IMAP)? I need to test if the connection is valid
>before returning it as it migth stay in the cache for long periods of
>time. I looked at the RFC and saw the BindResponse command and was
>wondering if it could work for the purpose? Any ideas?

A Bind operation is likely not the best choice for such purposes.
I would suggest using a search operation with empty DN, scope
base, and attribute list containing just "1.1" (no attributes).

Kurt