credmap

Displays username/UID and group name/GID on Windows, UNIX, and Linux

Applicability

Product

Command type

VersionVault

command

Platform

UNIX

Linux

Windows

Synopsis

versionvault-home-dir etc\utils\credmap remote-host

Description

Use the credmap utility to verify that your Windows user and group assignments match those on the UNIX or Linux side. credmap returns the following values:

  • The Windows username and the primary group name used by VersionVault
  • The UNIX or Linux user ID and primary group ID

A mismatch returns a UNIX or Linux user ID or primary group ID of -2; in this case, do the following:

  1. Run the id command on the UNIX or Linux host to determine the correct UNIX or Linux user and group IDs.
  2. Make the proper adjustment to either the UNIX or Linux user account information or the Windows NT security account information.
Note: Mismatches can also occur in the group ID list; to prevent permission problems, the group list for Windows NT users should include all groups known to the UNIX or Linux VOBs.

For more information, see the Help.

Restrictions

None.

Options and arguments

remote-host
UNIX or Linux host running the NFS daemon or authentication server.

Examples

  • Check Windows user anne's user and group IDs against their counterparts on UNIX or Linux host saturn:

    c:\Program Files\HCL\CCM\VersionVault> etc\utils\credmap saturn
    Identity on local Windows NT system:
      User: anne (0x1003f2)
      Primary group: user (0x1003ff)
      Groups:
        Administrators (0x20220)
        Domain Users (0x100201)

    Identity on host "saturn":
      User ID: 1149 (0x47d)
      Primary group ID: 20 (0x14)
      Group ID list:
        -2 (0xfffffffe)
        

    Run the id command on a UNIX or Linux system to verify that the UNIX or Linux user ID and primary group ID values correspond to UNIX or Linux user anne and group user:

    % id
    uid=1149(anne) gid=20(user)