Aci_clientaccess, Aci_clientaccess -11, Figure 4-6 – ADIC Server User Manual
Page 53: Table 4-4, Para

aci_clientaccess
4-11
21 Dec 2001
aci_clientaccess
The aci_clientaccess function modifies the access lists of a
client. See Figure 4-6.
Figure 4-6
aci_clientaccess Function Call
See Table 4-4 for a description of the parameters for the
aci_clientaccess function call.
This ACI function changes the access lists of a client named
clientname by either adding or removing access to a drive_range
and/or a volser_range. The aci_clientstatus function may be
needed to find out the drive_range and volser_range used by the
client.
Table 4-4
Parameters for the aci_clientaccess Function Call
Parameter
Description
clientname
name of the client which authorization is to be changed
action
type of the activity (add or remove access rights)
ACI_ADD
add access rights
ACI_DELETE
remove access rights
volser_range
• a single volser
• multiple volsers, separated by commas
• a range of volsers separated by a hyphen
• set to empty (““ or ‘\0’) if it is not to be changed
type
media type of the previously defined volser range
Refer to Media Types on page 2-7.
drive_range
• a single drive
• multiple drives, separated by commas
• a range of drives separated by a hyphen, or set to empty
(““ or ‘\0’) if it is not to be changed
#include "aci.h"
int aci_clientaccess( char *clientname,
enum aci_command action,
char *volser_range,
enum aci_media type,
char *drive_range )