cwbUN_GetLdapSvrPort

Purpose

Returns the port number that is used by the LDAP server.

Syntax

int cwbUN_GetLdapSvrPort
    ( cwbUN_ldapSvrHandle  handle,
      int                  *port,
      int                  *sslPort
    );

Parameters

cwbUN_ldapSvrHandle handle - input
A handle previously obtained by a call to cwbUN_OpenLocalLdapServer().
int * port - output
The port number used for LDAP connections.
int * sslPort - output
The port number used for SSL connections.

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