Novell Home

Change Tree 1

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Change the current tree and display all authenticated trees.

Vitals

Product Categories:
  • eDirectory
  • NetWare 4.2
  • Functional Categories:
  • Directory and DS
  • Secure Identity
  • Posted:10 Sep 2002
    File Size:83KB
    License:Free
    Download:http://support.novell.com/servlet/filedownload/pub/chtree1.exe
    Publisher:

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    CHTree changes the current tree and displays all authenticated trees.

    For NetWare 4.11

    Installation Instructions

    Copy CHTREE.EXE to the SYS:\PUBLIC directory on your server.

    Usage:

    CHTREE [tree name] | [/?]

    Displays all authenticated trees. The current tree is marked by *. Changes the current tree to [tree name] if specified.

    Directory Services operations can only be performed on the current tree. This utility programmatically switches the Current tree, meaning CHTree can be used in a batch file to do operations on multiple trees.

    For example, consider the following DOS batch file:

    REM ***** Begin BATCH file *****
    REM List all users in the ACME_INC tree from the corp container and below.
    CHTREE ACME_INC
    CX .corp
    NLIST user /s
    REM List all user in the TEST tree from the corp container and below.
    CHTREE TEST
    CX .corp
    NLIST user /s
    REM ***** End BATCH file *****

    Or consider a batch file to compare rights of users between two trees:

    REM ***** Begin BATCH file *****
    REM Show how Bob got rights to Lisa in the ACME tree and write to FILE1.
    CHTREE ACME_INC
    DSRIGHTS .bob.corp lisa > FILE1
    REM Show how Bob got rights to Lisa in the TEST tree and write to FILE2.
    CHTREE TEST
    DSRIGHTS .bob.corp lisa > FILE2
    REM ***** End BATCH file *****

    Known Issues:

    CHTree will NOT authenticate you to a new tree. It only switches the current tree to one of the already authenticated trees.

    Frequently Asked Questions:

    Q: I cannot authenticate to multiple trees.
    A: You must have a client that support multiple trees. For example, Client 32 for DOS/Windows, NT, or Windows 95.

    Q: When the tree names are displayed, one tree name has an asterisk (*). What does the asterisk mean?
    A: The asterisk (*) indicates the current tree.

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell