NDSCount

Version PK-2.02
(Nov 22, 1998)


 DISCLAIMER:
     THIS  PRODUCT  IS  SUPPLIED  "AS  IS".  DREAMLAN 
     DISCLAIMS ALL WARRANTIES,  EXPRESSED OR IMPLIED,
     INCLUDING, WITHOUT  LIMITATION,  THE  WARRANTIES
     OF  MERCHANTABILITY   AND  OF  FITNESS  FOR  ANY
     PURPOSE.   DREAMLAN  ASSUMES  NO  LIABILITY  FOR
     DAMAGES,  DIRECT  OR  CONSEQUENTIAL,  WHICH  MAY
     RESULT FROM THE USE OF THIS PRODUCT.

Introduction

NDSCount is a DOS command-line utility that scans your NDS schema and reports on the different object classes that are defined. If extensions, such as NetWare Connect, have been installed, they too will be reported. For each object class, an object count is given. This is useful if you are wondering how many user and container objects you have in your tree.

If you generate a report file, the names of the objects are listed.


What's New


Notes

  1. The names of the classes are schema dependent. Therefore, you need to be careful when specifying the class name if you are looking for a specific class name. A complete list of the "base" NetWare 4.10 and NetWare 5.0 class name is listed in a Base Schema section of this documentation.

  2. To make it easier to read, any embedded blanks in the class names are replaced by an underscore. This is simply for display purposes.

  3. By default, NDSCount only looks at the current name context. If you wish to report on the subtree on the number of object, use the -s switch. If you wish a report on the whole tree, make sure you first change your context to [Root] before running NDSCount.

  4. Note that not all class names will have an object in the NDS. Some classes are used by other classes (as Super Classes). For example, you will find a class named Person, but there is no NDS object called Person. Instead, the class Person is used by the class Organizational Person, which is in turn used by User. This is also true for, for example, Partition.
  5. The order in which the class name information returned by the API calls is not alphabetical. Rather, it is based on the order in which the class is placed into the schema. Therefore, any schema extension will be listed by NDSCount last. Using this knowledge, NDSCount "assumes" the class "Volume" is the last base class defined in the NetWare 4.10 schema (as it is the last one listed). And any other classes listed after Volume is considered as extensions. This assumption is incorrect on a NetWare 5 tree.
    If your network was upgraded from NetWare 4.0x to 4.1, for example, some of the newer base class name in NetWare 4.1 is added to the end of the list (i.e. not in the same order if you have installed a brand new NetWare 4.1 network). In these cases, the newer object classes (such as Messaging Server) will be considered as "extensions" as they appear after the class Volume.

  6. NDSCount will only count the objects that your logged in id has the right to "see".


Installation

No special installation steps or program need to be used. Simply copy NDSCount to SYS:PUBLIC of your servers. You must have the Unicode files for the country code and code page that your workstation use available in the respective NLS directories, for example, SYS:PUBLIC\NLS.

Should you install NDSCount into a different directory, you may need a search path to the directory where the unicode files are located.


Usage

You can run NDSCount with the following command-line parameters:

NDSCOUNT [-a] [-c] [-n] [-r] [-s]

where

None of the above parameters are case sensitive.


Configuration

n/a


Base Schema Class Names

NetWare 4.10

The following is a list of the base schema class names as shipped with NetWare 4.10:

Messaging_Server              Message_Routing_Group
External_Entity               List
AFP_Server                    Bindery_Queue
Top                           Alias
Bindery_Object                Computer
Country                       Device
Directory_Map                 Group
Locality                      NCP_Server
Organization                  Organizational_Person
Organizational_Role           Organizational_Unit
Partition                     Person
Printer                       Print_Server
Profile                       Queue
Resource                      Server
Unknown                       User
Volume

The following is a list of the base schema class names as shipped with NetWare 5.0:

Top                           Tree_Root
Alias                         Bindery_Object
Computer                      Country
Device                        Directory_Map
Group                         Locality
NCP_Server                    Organization
Organizational_Person         Organizational_Role
Organizational_Unit           Partition
Person                        Printer
Print_Server                  Profile
Queue                         Resource
Server                        Unknown
User                          Volume
CommExec                      Messaging_Server
Message_Routing_Group         External_Entity
List                          AFP_Server
Bindery_Queue                 SAS:Security
NDSPKI:Certificate_Authority  MASV:Security_Policy
NLS:Product_Container         NLS:License_Certificate
NLS:License_Server            Audit:File_Object
Template                      SAS:Service
NDSPKI:Key_Material           SLP_Scope_Unit
SLP_Directory_Agent           SLP_Service
LDAP_Server                   LDAP_Group
NSCP:Nginfo                   NSCP:Nginfo2
NSCP:NetscapeServer           NSCP:NetscapeMailServer
NSCP:mailGroup                NSCP:groupOfUniqueNames
Entrust:CRLDistributionPoint  NDSCat:Catalog
NDSCat:Master_Catalog         NDSCat:Slave_Catalog
WANMAN:LAN_Area               SMS_SMDR_Class
[Nothing]

Registration

This version of NDSCount is full-functional shareware. Only the the -c command-line option is disabled in this trial version.

You are granted a 30-day license to evaluate NDSCount. Should you like to continue using NDSCount after 30 days, a full version of NDSCount is available by registering on-line through the following Web sites:

The NDS tree name is required as it is used to generate a key. The registration cost is $25 US. Canadian registration is $35 CDN plus GST. All other countries, please remit in US funds.

You can also FAX a company Purchase Order to +1 (905) 887-3836. Please make sure you either include your tree name information on the FAX or send a follow up email.

This will be a NETWORK license, limited to ONE NDS TREE. This license does not allow you to include it as part of another software package or service contract. Reseller inquiries welcome. Special site agreements for multiple trees is available.


Other Information

NDSCount is written in C using Microsoft C optimizing compiler and Novell Developer Kit. Some string manipulating routines are from the CXL library.

Inclusion of this utility on CD-ROMs (except for backup purposes) without permission from DreamLAN Network Consulting Ltd. is expressly prohibited.


Revision History