cwbUN_GetLdapSvrSuffixCount

Purpose

Returns the number of suffixes configured for this server. A suffix is the distinguished name (DN) of a starting point in the directory tree.

Syntax

int cwbUN_GetLdapSvrSuffixCount
    ( cwbUN_ldapSvrHandle  handle,
      int                  *count
    );

Parameters

cwbUN_ldapSvrHandle handle - input
A handle previously obtained by a call to cwbUN_OpenLocalLdapServer().
int * count - output
The number of suffixes present on the server.

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWB_INVALID_API_HANDLE
Invalid handle.
CWB_INVALID_POINTER
A NULL pointer was specified.

Usage

None