This command lists, reads, modifies, creates, and deletes TAS realms and realm configuration options. The TAS environment consists of collections of services provided over specified transports in three realms:
LM-NT-OS/2 (NB) realm
NetWare (NW) realm
AppleTalk (AT) realm
TNHOME/usr/sbin
tnrealm -L tnrealm -R -r realm {-a attribute} tnrealm (-A|-M) -r realm {-a attribute=value} tnrealm -D -r realm
Attribute applicable to all realms:
Attributes applicable to the LM-NT-OS/2 realm:
Attribute applicable to the NetWare realm:
This attribute designates the name of the transport protocol for the specified realm. Separate transport names with commas. Available transports consist of tcpip and tnnbu for the LM-NT-OS/2 realm, tnipx for the NetWare realm, and tnatk for the AppleTalk realm.
tnrealm -M -r realm -a transport={tcpip|tnnbu|tnipx|tnatk}
This attribute designates the time interval in seconds between service announcements. This attribute defaults to 300--one broadcast every 5 minutes.
tnrealm -M -r realm -a anninterval=seconds
This attribute designates the NetBIOS name for a LM-NT-OS/2 domain. Unless you set up clients to use a different name, use WORKGROUP as the value for this attribute.
tnrealm -M -r NB -a lm-domain=domain-name
This attribute designates the list of IP addresses of WINS servers. For servers that use this attribute, each newly-claimed NetBIOS name registers with the WINS system by calling each server in turn, until it contacts one.
tnrealm -M -r realm -a wins-servers=value
This attribute designates the name of a default logon script supplied to Windows-95 clients during the login process and serves as the default for users not known to the server and for known users who have a missing or null win95-logon-script attribute.
tnrealm -M -r realm -a win95-login-script-dflt=value
This attribute pre-loads user names into the NetWare bindery. Specifying ALL instead of a list of user names causes all UNIX user names to pre-load.
tnrealm -M -r NW -a bindery-load={username|ALL}
Use either of the following commands to list all available realms:
tnrealm tnrealm -L |
Sample Output:
NB NW AT |
Use the following command to list all available realms and their attribute values:
tnrealm -R |
Sample Output:
NB |
|
|
transport=tcpip, tnnbu |
|
lm-domain=langroup |
|
anninterval=300 |
|
state=enabled |
NW |
|
|
transport=tnipx |
|
bindery-load=all |
|
state=enabled |
AT |
|
|
transport=tnatk |
|
state=enabled |
Use the following command to modify the announcement interval in the LM-NT-OS/2 realm:
tnrealm -M -r NB -a anninterval=600 |
Use the following command to delete the AppleTalk realm from the system:
tnrealm -D -r AT |