# tibemsSSLParams_System_SetLdapServerPassword

Function

## Purpose

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

## C Declaration

    tibems_status tibemsSSLParams_System_SetLdapServerPassword(
        tibemsSSLParams params,
        const char* password)

## COBOL Call

    CALL "tibemsSSLParams_System_SetLdapServerPassword"
         USING BY VALUE SSLParams,
               BY REFERENCE password,
               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` | SSL parameter object.
`password` | LDAP server authenticating password.

## Remarks

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

Returns `TIBEMS_OK` if it succeeds, otherwise `TIBEMS_SSL_ERROR`.

## See Also

`tibemsSSLParams_System_SetLdapServerUrl`

`tibemsSSLParams_System_SetLdapServerUserid`

Copyright © Cloud Software Group, Inc. All rights reserved.