2 — Client Configurations


[Previous] [Next] [Contents] [Index]


This chapter provides a deeper level of technical detail on the NetCrusader DCE/PC-DCE client runtime implementation. The primary reason for this information is to provide developers and administrators with a sufficient understanding of the full and lightweight client options offered by NetCrusader DCE/PC-DCE.

This chapter contains the following sections:

2.1 Client Component Overview
2.2 Understanding Lightweight Clients

2.1 Client Component Overview

Figure 2-1 and the sections that follow describe the main components of a client configuration. For the purpose of discussion, the full client configuration is shown; the lightweight client configuration does not include dced and cdsadv.

Figure 2-1: PC-DCE Client Configuration



2.1.1 cdsadv.exe

The CDS Advertiser (cdsadv.exe) assists the CDS clerk in maintaining the local CDS cache files, which DCE clients use when trying to locate network resources. The CDS Advertiser monitors the LAN for broadcasts from CDS servers, which contain information such as server status and clearinghouse name. The CDS Advertiser populates the CDS cache with this information, entering new servers and updating server status.

2.1.2 dced.exe

The dced daemon, dced.exe, supports the following services:

2.1.3 dce32.dll

dce32.dll includes the DCE runtime.

If a DCE application needs to call the security server, it uses the security APIs in the runtime. If a DCE application needs to contact the CDS namespace, it calls the RPC routines in the runtime; the runtime then calls the routines in the CDS clerk to get the namespace information.

2.1.4 CDS Clerk

In UNIX-based DCE, the CDS clerk is implemented as a process. In PC-DCE, the CDS clerk is implemented as a Windows DLL (cdsclerk.dll). The CDS clerk includes the CDS runtime.

Any application that needs access to CDS must go through the CDS clerk. Applications that request access to the CDS namespace call RPC routines in the DCE runtime; the DCE runtime then calls routines in the CDS clerk to obtain the requested information from CDS.

The CDS clerk, along with certain application clients and the CDS Advertiser, maintain the CDS cache. The CDS clerk queries CDS servers for namespace information on behalf of the client. The clerk also helps maintain cache records of which servers are currently responding and which are not.

2.1.5 CDS Cache

The CDS cache is a collection of information about servers, clearinghouses, and other CDS resources that a CDS clerk establishes on the local system for its reference.

The CDS cache is maintained in two areas:

Information remains stored in the cache until either of the following occurs:

The PC-DCE configuration process creates the initial CDS cache by reading the root directory of the client's primary CDS server, whose name is supplied by the person performing the configuration. The root directory contains references to all of the CDS clearinghouses and their associated CDS servers.

The CDS cache is maintained primarily by the CDS clerk, with help from the CDS Advertiser and certain application clients.

2.1.6 dce_update

dce_update.exe is a lightweight PC-DCE process that keeps the CDS cache and pe_site file up-to-date.

Each clearinghouse entry in the CDS cache is designated as OK or Not OK. Every hour (this period is tunable), the dce_update process solicits clearinghouses that are marked Not OK, and changes the setting to OK if it is now responding.

This is especially important if a preferred server outside the LAN goes down. Since the server is outside the LAN, no broadcast occurs to indicate when it is available again. dce_update monitors the server's status, ensuring that the client returns to it after the preferred server comes back on line.

The pe_site file contains a list of security servers and associated bindings that the DCE runtime uses to select a security server. Every hour (this period is tunable), the dce_update process pings all known security servers and moves servers that do not respond to the bottom of the pe_site list, keeping the list sorted so that available servers are listed first.

The dce_update process checks for any registry keys or variables that you have modified, such as SEC_DEFAULT_ENTRY, which you can use to specify a preferred security server. These modifications are taken into account when dce_update creates the pe_site file.

2.2 Understanding Lightweight Clients

By default, the PC-DCE Configuration program configures your system as a lightweight DCE client, which does not include configuration of the dced, dtsd or cdsadv client daemons. Lightweight clients participate as a functioning member of a cell while offering performance and overhead advantages that make them preferable to full clients.

The information in this section will help you decide if a lightweight client configuration will be effective in your environment.

2.2.1 Lightweight Versus Full Clients

Configure lightweight clients to minimize the amount of memory PC-DCE uses, or when you want someone who is not the cell administrator to be able to manage his or her own PC-DCE configuration.

Lightweight clients are different from full clients in the following ways:

The benefits of the lightweight configuration are:

2.2.2 Conditions That Require a Full Client

Depending upon the requirements at your site, you may need to run a full client instead of a lightweight client:


[Previous] [Next] [Contents] [Index]


To make comments or ask for help, contact support@entegrity.com.

Portions of this document were derived from materials provided by Compaq Computer Corporation. Copyright © 1998-2003 Compaq Computer Corporation.

Copyright © 2003 Entegrity Solutions Corporation & its subsidiaries.

All rights reserved.