Access get services subcommand, Format – Sun Microsystems FIRE V40Z User Manual
Page 111
Appendix B
Access Commands
89
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
access get services [ {-t | --type } ads
[{ -d | --domain} | {-s | --server} |
{-l | --logonID} | {-o | --ou}]
[-H | --noheader]] [{-D | --delim
lists the arguments for this subcommand.
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.
TABLE B-17
Arguments for Subcommand access get services
Argument
Description
{-t | --type }
Returns information about the configuration of either the NIS
or ADS service. You must specify -t to return a list of enabled
services.
{-d | --domain}
Returns domain information. Only one of the parameters -d
and -s are permitted at a time.
{-s | --server}
Returns server information. Only one of the parameters -d
and -s are permitted at a time.
TABLE B-16
Return Codes for Subcommand access enable service
Return Code
ID
Description