TotalNET Advanced Server 5.2 Reference Manual

tnumap

This command gives you the ability to manage file-service user maps. You can list, read the attribute values of, add, modify, and delete user maps. A file service can reference only one user map.

With a user map, a file service maps user names from an external name database--such as a set of pre-existing NetBIOS, NetWare, or AppleTalk user names--to an internal name database of UNIX user names or TAS user names. TAS defines user maps at the system level. More than one file service can reference a user map. Each user map consists of a set of associations between an internal file service user name--a UNIX user--and a list of external names to map to the internal name. To add these associations, refer to "tnumapuser".

For a file service to use a user map, you need to set its user-map attribute. To do so, refer to "tnservice""tnservice. Currently, user maps do not have any attributes. If you specify the -a option, tnumap ignores it.

Location

TNHOME/usr/sbin

Usage

tnumap [-L]
tnumap [-R [-m user-map [{-a attribute}]]]
tnumap [(-A|-M) -m user-map [{-a attribute=value}]]
tnumap [-D -m user-map]

Options

"General Configuration Options"General Configuration Options

-m user-map

Specify the user map. 

Examples

  1. Use one of the following commands to list all available user maps:


    tnumap
    tnumap -L

    Sample Output:


    marketmap
    worker
    supermap
  2. In future releases of TAS, you can use the following command to list the values of all attributes for the user map worker:


    tnumap -R -m worker

    Sample Output:

    This command gives no output, since user maps do not have any attributes in the current release of TAS.

  3. Use the following command to create the user map worker:


    tnumap -A -m worker
  4. Use the following command to delete the user map worker:


    tnumap -D -m worker