TotalNET Advanced Server 5.2 Reference Manual

tnumapuser

This command allows you to manage users added to specified user maps. You can list, read the attribute values of, add, modify, and delete user maps.

The users objects form associations between internal user names--TAS secure-authentication or UNIX user names--and a list of external names, such as a set of pre-existing NetBIOS, NetWare, or AppleTalk user names, to map to the internal name.

Before you can add any user object to a user map, you must create the user map. Refer to "tnumap" instructions on creating a user map. You can define more than one user object for a user map, and more than one file service can reference a user map.

Location

TNHOME/usr/sbin

Usage

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

Options

"General Configuration Options"

-m user-map

Specify the user map. 

-u internal-user

Specify the name of the internal user. 

Attribute

external-users

This attribute specifies external user names that should map to the internal user names.

Usage:

tnumapuser (-A|-M) -m user-map -u internal-user
 	-a external-users=names

Examples

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


    tnumapuser
    tnumapuser -L

    Sample Output:


    supermap
    totalnet
    johndoe
    carolyn
    worker
    barryw
    wilson
    danielle
  2. Use the following command to list all user objects available for the user map supermap:


    tnumapuser -L -m supermap

    Sample Output:


    totalnet
    johndoe
    carolyn
  3. Use the following command to read the value of the attribute external-users for the user barryw in the user map worker:


     tnumapuser -R -m worker -u barryw -a external-users

    Sample Output:


    external-users=barry_will
  4. Use the following command to add the value of the attribute external-users for the user johndoe in the user map supermap:


    tnumapuser -A -m supermap -u johndoe
     	-a external-users=john_d
  5. Use the following command to delete the user totalnet for the user map supermap:


    tnumapuser -D -m supermap -u totalnet