clearcasecleartool

CT protect VS vob_siddump/vob_sidwalk


  1. Several ClearCase branch type owners have left the company and there domain ID (windows environment) got deleted.
    Should I use cleartool protect to change owner to CCadmin account or use vob_siddump/vob_sidwalk ?
  2. I Found below in vob_sidwalk manual:

    -u/nknown 
    

    Map SIDs that cannot be resolved to an account in the domain.
    Any user SID that cannot be resolved is mapped to the SID of the VOB owner.
    Any group SID that cannot be resolved is mapped to the SID of the VOB's primary group.
    The mappings are written to the SID file.

If I have to use vob_siddump/vob_sidwalk, will -u resolve my problem ?


Solution

  • I usually prefer a cleartool protect -chown to a vob_sidwalk/vob_siddump, because you don't have to dump/reload a full vob.
    I use typically a combination of ct find -exec "cleartool protect -chown" comman, as shown in this IBM article.
    For instance, I look for user NOBODY.

    Note that with UCM, you need to change the ClearCase object and the ClearCase UCM object (for instance, the branch and the UCM stream owner.


    I need to change only branch type owner ship and not any element.

    Then cleartool protect is still the way to go, you just don't need a cleartool find.
    You just need to list those brtype:

    cleartool lstype -kind brtype -invob \myVob
    

    See "how to find all the branch type created by one person in clearcase".