Determining login credentials for CCWeb and CCRC

How to determine the credentials used for authentication when using the IBM® Rational® ClearCase® Web (CCWeb) Interface or the ClearCase Remote Client (CCRC) on Microsoft® Windows®, UNIX® or Linux®.

There are two undocumented commands that can be used to provide more verbose account information from a CCWeb or CCRC client perspective:

1. creds

2. dump

Using your web browser, type in the address bar the following URL (substituting the appropriate server name and port number) to view the information on screen.

Note: You will be asked to re-enter your login information as the user you are inquiring about.

For ClearCase version 7.0 and 2003.06, use:

  • Windows Server creds:
    http://host.domain.com:port_num/ccweb/bin/ccweb.exe?cmd=creds
  • Windows Server dump:
    http://host.domain.com:port_num/ccweb/bin/ccweb.exe?cmd=dump
  • UNIX and Linux Server dump:
    http://host.domain.com:port_num/ccweb/bin/ccweb?cmd=dump


For ClearCase version 2002.05, use:

  • Windows Server creds:
    http://host.domain.com:port_num/ccase/bin/ccweb.exe?cmd=creds
  • Windows Server dump:
    http://host.domain.com:port_num/ccase/bin/ccweb.exe?cmd=dump
  • UNIX and Linux Server dump: http://host.domain.com:port_num/ccase/bin/ccweb?cmd=dump

Note: The creds command will only work with Windows RWP server whereas dump will work on both UNIX, Linux and Windows (and provides much more information than just the users credentials.)

Examples

Output from a creds URL will be similar to the following:

Login name: MyDomain\myuser
USID: NT:S-1-5-21-1453292567-1645505489-561332275-11019
Primary group: MyDomain\Domain Users (NT:S-1-5-21-1453292567-1645505489-561332275-513)
Groups: (8)
Everyone (NT:S-1-1-0)
BC-W2K-SVR2\user (NT:S-1-5-21-606747145-507921405-1801674531-1008)
BUILTIN\Administrators (NT:S-1-5-32-544)
BUILTIN\Users (NT:S-1-5-32-545)
NT AUTHORITY\INTERACTIVE (NT:S-1-5-4)
NT AUTHORITY\Authenticated Users (NT:S-1-5-11)
LOCAL (NT:S-1-2-0)
MyDomain\CC_CUP_USERS (NT:S-1-5-21-1453292567-1645505489-561332275-5265)

You do not have ClearCase administrative privileges.
You are logged onto Administrative-mode Terminal Server (Console)


Output from a dump URL will contain a "User credentials" section near the bottom.
This section will look similar to:

User credentials
Login ID:
myuser(UNIX:UID-500)
Group ID:
cc_grp(UNIX:GID-54329)
Additional groups:
cc_web(UNIX:GID-54328)

No comments:

Post a Comment