TABLE B-16Return Codes for Subcommand access enable service

Return Code

ID

Description

 

 

 

NWSE_RPCNotConnected

3

Unable to connect to the RPC server.

NWSE_InvalidArgument

4

One or more arguments were incorrect or invalid.

NWSE_NotFound

5

Entity (user, service, file, path, etc.) was not found.

NWSE_NoPermission

6

Not authorized to perform this operation.

NWSE_FileError

18

File open, file missing, or a read or write error

 

 

occurred.

NWSE_InvalidOpForState

22

Invalid operation for current state.

 

 

 

Access Get Services Subcommand

Description: Returns a string containing the current naming services option (NIS or ADS).

Format

Command format:

access get services [ {-t --type } nis [{-d --domain} {-s --server}]

[-H --noheader]] [{-D --delim <DELIMITER>}]

access get services [ {-t --type } ads [{ -d --domain} {-s --server} {-l --logonID} {-o --ou}]

[-H --noheader]] [{-D --delim <DELIMITER>} TABLE B-17lists the arguments for this subcommand.

TABLE B-17Arguments for Subcommand access get services

Argument

Description

 

 

{-t --type }

Returns information about the configuration of either the NIS

 

or ADS service. You must specify -tto return a list of enabled

 

services.

{-d --domain}

Returns domain information. Only one of the parameters -d

 

and -sare permitted at a time.

{-s --server}

Returns server information. Only one of the parameters -d

 

and -sare permitted at a time.

 

 

Appendix B Access Commands 89

Page 111
Image 111
Sun Microsystems V40z, V20Z manual Access Get Services Subcommand, Table B-17Arguments for Subcommand access get services