tibemsSSLParams_System_SetLdapServerUserid

Function

Purpose

Set the user ID to be used to access LDAP for certificates and CRLs.

C Declaration

tibems_status tibemsSSLParams_System_SetLdapServerUserid(
    tibemsSSLParams params,
    const char* userid)

COBOL Call

CALL "tibemsSSLParams_System_SetLdapServerUserid"
     USING BY VALUE SSLParams,
           BY REFERENCE userid,
           RETURNING tibems-status
END-CALL.
Note: SSLParams and password have usage pointer.

IBM i

This function is not supported on IBM i systems.

Parameters

Parameter Description
params The SSL parameter object.
userid The user ID to be used when authenticating with the LDAP server.

Remarks

Once the LDAP parameters are established, these parameters remain in effect for the life of the client application, and cannot be overridden by subsequent specifications. That is, the first connection to be established sets the LDAP parameters for all subsequent connections.

Returns TIBEMS_OK if it succeeds, otherwise TIBEMS_SSL_ERROR.