cwbUN_OpenLdapPublishing

Purpose

Creates a handle that can be used to access configuration information about information published by this iSeries™ server to LDAP directories.

Syntax

int cwbUN_OpenLdapPublishingW
    ( LPCWSTR              system,
      cwbUN_ldapPubHandle  *pHandle
    );
 
int cwbUN_OpenLdapPublishingA
    ( LPCSTR               system,
      cwbUN_ldapPubHandle  *pHandle
    );

Parameters

LPCSTR system - input
Pointer to iSeries system name.
cwbUN_ldapSvrHandle *pHandle - output
On return, contains a handle that can be used with the following APIs:

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWB_INVALID_API_PARAMETER
Invalid parameter specified.
CWB_INVALID_API_HANDLE
Invalid handle.
CWB_INVALID_POINTER
A NULL pointer was specified.
CWBUN_LDAP_NOT_AVAIL
Directory services is not installed or the server has not been configured.

Usage

None