Bay Networks 5390 Administering page 501

Communications server
Hide thumbs Also See for 5390:
Table of Contents

Advertisement

/*
define messages used by Securid Card application*/
#ifdef SECURID_CARD
#define ACP_NEXTCODEPROMPT "Enter next card code: "
#define ACP_PINCHAR "characters"
#define ACP_PINDIGIT "digits"
#define ACP_PINSIZE "%d"
#define ACP_PINSZRANGE "%d to %d"
#define ACP_NEWPINPROMPT "Enter your new PIN containing %\
%s,\n"
#define ACP_OR "\t\tor\n"
#define ACP_NEWPIN_2 "Press Return to generate new PIN and\
display it\n"
#define ACP_NEWPIN_3 "<Ctrl d> to leave your card in New-PIN\
mode.\n"
#define ACP_SYSGENPIN "\t\t%s\n"
#define ACP_PINREENTRY "Please re-enter PIN: "
#endif#ifdef PORT_PASSWORD
/* only if PORT_PASSWORD is set and a port password exists in acp_passwd */
#define ACP_PORTPROMPT "Port password: "
#endif
/* miscellaneous defines for default application */
#define INPUT_TIMEOUT 30
#define INPUT_POLL_TIMEOUT 3
#define RETRIES_MAX 3
Locking the acp_logfile File
To prevent two or more hosts processes from logging a record simultaneously, the Model 5390
erpcd code uses the lockf system call from the host to lock the acp_logfile. This locking action
prevents other processes from writing the file until the file update is complete.
There are two ways to use the lockf system call. You can select either mechanism via a switch in
the acp_policy.h file. The following explanation of the switch resides in this file. The default method,
T_LOCK, is reliable but not very efficient; F_LOCK is more efficient but does not work on all hosts
(some host manufacturers have issued patches to provide support for F_LOCK).
893-741-B
Using Model 5390 Security
A15-81

Advertisement

Table of Contents
loading

Table of Contents