Product Documentation

FairCom ISAM for C

Previous Topic

Next Topic

Suspend Server - Block User Logins

This feature blocks non-ADMIN users with the FairCom DB Security function. Four modes support the ability of an ADMIN user to block logons by non-ADMIN users:

mode

Description

SEC_BLOCK_NONADM

Block user logons not in ADMIN group

SEC_BLOCK_NONSUP

Block all user logons except ADMIN

SEC_BLOCK_KILL

Block all user logins except ADMIN, suspend internal threads that might open files, and kill all other users (suspend the server)

SEC_BLOCK_OFF

Turn block off

The following Security() error and warning code returns apply to these modes:

Value

Symbolic Constant

Explanation

589

LADM_ERR

Calling user does not have sufficient authority. User ADMIN must call Security() to turn on or off the NONSUP mode; a member of the ADMIN group must call Security() to turn on or off the NONADM mode.

-594

XUSR_COD

Block applied successfully, but there were users already logged on that violate the block. No new users violating the block will be permitted to logon.

Note: Only the ADMIN user can upgrade the block from NONADM to NONSUP mode or relax the block from NONSUP to NONADM mode. Other members of the ADMIN group can only use the NONADM block.

Once the block is turned on, a user that attempts to logon, but who does not satisfy the ADMIN requirements, is rejected with an error XUSR_ERR (593)

TOCIndex