HP-UX SNAplus2 R7 NOF Programmer's Guide

NOF API Verbs
QUERY_RCF_ACCESS
AP_UINT16 primary_rc; /* primary return code */
AP_UINT32 secondary_rc; /* secondary return code */
unsigned char ucf_username[32]; /* UCF username */
AP_UINT32 spcf_permissions; /* SPCF permissions */
unsigned char reserv3[8]; /* Reserved */
} QUERY_RCF_ACCESS;
3.151.2 Supplied Parameters
The application supplies the following parameters:
opcode
AP_QUERY_RCF_ACCESS
3.151.3 Returned Parameters: Successful Execution
If the verb executes successfully, SNAplus2 returns the following parameters:
primary_rc
AP_OK
ucf_username
Species the HP-UX user name of the UCF user. This parameter is a null-terminated ASCII string.
All UCF commands will be run using this users user ID, using the default shell and access permissions
dened for this user.
If this parameter is set to a null string, this indicates that UCF access is prohibited.
spcf_permissions
Species the types of SNAplus2 administration commands that can be accessed using SPCF. This is set to
AP_NONE
to indicate that SPCF access is prohibited, or to one or more of the following values (combined us-
ing a logical OR):
AP_ALLOW_QUERY_LOCAL
QUERY_* verbs are permitted.
AP_ALLOW_DEFINE_LOCAL
DEFINE_*, SET_*, DELETE_*, ADD_*, and REMOVE_* verbs, and also INIT_NODE, are permitted.
AP_ALLOW_ACTION_LOCAL
Action verbs are permitted: START_*, STOP_*, ACTIVATE_*, DEACTIVATE_*, and also APING,
INITIALIZE_SESSION_LIMIT, CHANGE_SESSION_LIMIT, and RESET_SESSION_LIMIT.
AP_ALLOW_QUERY_REMOTE
The QUERY_* verbs are allowed to provide access to a remote SNAplus2 node.
AP_ALLOW_DEFINE_REMOTE
The DEFINE_*, SET_*, DELETE_*, ADD_*, REMOVE_*, and INIT_NODE verbs are allowed to
provide access to a remote SNAplus2 node.
AP_ALLOW_ACTION_REMOTE
The START_*, STOP_*, ACTIVATE_*, DEACTIVATE_*, APING, INITIALIZE_SESSION_LIMIT,
CHANGE_SESSION_LIMIT, and RESET_SESSION_LIMIT verbs are allowed to provide access to a
remote SNAplus2 node.
624