TotalNET Advanced Server 5.2 Reference Manual

tnrealm

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:

Location

TNHOME/usr/sbin

Usage

tnrealm -L
tnrealm -R -r realm {-a attribute}
tnrealm (-A|-M) -r realm {-a attribute=value}
tnrealm -D -r realm

Options

Attributes

Attribute applicable to all realms:

Attributes applicable to the LM-NT-OS/2 realm:

Attribute applicable to the NetWare realm:

transport

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.

Usage:
tnrealm -M -r realm -a transport={tcpip|tnnbu|tnipx|tnatk}

anninterval

This attribute designates the time interval in seconds between service announcements. This attribute defaults to 300--one broadcast every 5 minutes.

Usage:

tnrealm -M -r realm -a anninterval=seconds

lm-domain

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.

Usage:

tnrealm -M -r NB -a lm-domain=domain-name

wins-servers

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.

Usage:

tnrealm -M -r realm -a wins-servers=value

win95-logon-script-dflt

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.

Usage:

tnrealm -M -r realm -a win95-login-script-dflt=value

bindery-load

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.

Usage:

tnrealm -M -r NW -a bindery-load={username|ALL}

Examples

  1. Use either of the following commands to list all available realms:


    tnrealm
    tnrealm -L

    Sample Output:


    NB
    NW
    AT
  2. 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 

  3. Use the following command to modify the announcement interval in the LM-NT-OS/2 realm:


    tnrealm -M -r NB -a anninterval=600
  4. Use the following command to delete the AppleTalk realm from the system:


    tnrealm -D -r AT