This command allows you to specify service types that TAS services define. You can list, read the attribute values of, add, modify, and delete service types.
This release of TAS supports file, print, terminal, and NVT services. The LM-NT-OS/2 realm uses file and terminal services, the NetWare realm uses file, terminal, and NVT services, and the AppleTalk realm uses file and print services.
TNHOME/usr/sbin
tnstype [-L [-r realm]] tnstype [-R [-r realm [-t type [{-a attribute}]]]] tnstype [(-A|-M) -r realm -t type {-a attribute=value}] tnstype [-D -r realm -t type]
You cannot delete a service type from a realm if a service of that type exists in the realm.
This attribute describes the service. It has no default.
tnstype -M -r realm -t type -a description="string"
This attribute specifies the fixed socket number for the NetWare service configured to the IPX/SPX protocol. Currently, this attribute exists only for backward compatibility by service types developed before the existence of the generalized IPX SAP protocol. For example, the NetWare file service always has socket number 0x651.
tnstype -M -r realm -t type -a fixed-socket=number
This attribute defines the protocol for the defined service type. Choose from the following:
LM-NT-OS/2 realm: NB session
NetWare realm: SPX, IPX, or TNIL
AppleTalk realm: AFP or PAP
tnstype -M -r realm -t type -a protocol=protocol
This attribute defines the physical type code for the service type of the LM-NT-OS/2 and NetWare realms, a 16-bit hexadecimal number. The AppleTalk realm has a code number string. This attribute has no default.
tnstype -M -r realm -t type -a type=physical-type-code
Use one of the following commands to list service types available for the entire system:
tnstype tnstype -L |
Sample Output:
NB |
|
|
file |
|
term |
NW |
|
|
term |
|
nvt |
|
file |
Use the following command to list all services and their attribute values:
tnstype -R |
Use the following command to list the value of the attribute protocol, for terminal services in the NetWare realm:
tnstype -R -r NW -t term -a protocol |
Use the following command to add the file service type to the AppleTalk realm:
tnstype -A -r AT -t file |
Use the following command to delete the nvt service type from the NetWare realm:
tnstype -D -r NW -t nvt |