| 
 ======================================== 
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: 
_____________________________________________ 
Issue  
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 Product and Version:  
NetWare 4.11 
intraNetWare 4.11  
NetWare 4.2
  |