DBSETLMUTUALAUTH

Description

Enables or disables mutual authentication of the connection’s security mechanism.

Syntax

RETCODE DBSETLMUTUALAUTH(loginrec, enable)

LOGINREC              *loginrec;
DBBOOL                  *enable;

Parameters

loginrec

A pointer to a LOGINREC structure, which is passed as an argument to dbopen. You can allocate a LOGINREC structure by calling dblogin.

enable

A boolean value (“true” or “false”) specifying whether or not the server should enable mutual authentication.

Returns

SUCCEED or FAIL.

Usage

See also

dblogin, DBSETLNETWORKAUTH, DBSETLSERVERPRINCIPAL