DBSETLNETWORKAUTH

Description

Enables or disables network-based authentication.

Syntax

RETCODE DBSETLNETWORKAUTH(loginrec, enable)

LOGINREC                *loginrec;
DBBOOL                    *enable;

Parameters

loginrec

A pointer to a LOGINREC structure, 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 network authentication.

Returns

SUCCEED or FAIL.

Usage

If DBSETLNETWORKAUTH is not called, network authentication is disabled by default.

See also

dblogin, DBSETLMUTUALAUTH, DBSETLSERVERPRINCIPAL