Browse Prior Art Database

Providing Cell Directory Services Search Capability with X/Open Directory Services Application Programming Interface

IP.com Disclosure Number: IPCOM000116876D
Original Publication Date: 1995-Nov-01
Included in the Prior Art Database: 2005-Mar-31
Document File: 2 page(s) / 85K

Publishing Venue

IBM

Related People

Child, GL: AUTHOR [+2]

Abstract

Disclosed is a mechanism to provide search capability, when accessing the Cell Directory Service (CDS) of the Distributed Computing Environment (DCE), using the X/Open* Directory Services (XDS) application programming interface.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Providing Cell Directory Services Search Capability with X/Open Directory
Services Application Programming Interface

      Disclosed is a mechanism to provide search capability, when
accessing the Cell Directory Service (CDS) of the Distributed
Computing Environment (DCE), using the X/Open* Directory Services
(XDS) application programming interface.

      The standard interfaces available to applications programming
in the DCE environment to access the namespace, are the X/Open
Directory Service (XDS) and X/Open Object Management (XOM)
interfaces.

      Using the XDS/XOM interfaces, the application can access either
directory service provided by the standard DCE environment, either
the Global Directory Service (GDS) or the Cell Directory Service
(CDS).

      However, when used to access the Cell Directory Service, some
functions defined in the XDS/XOM interface are not supported.  One of
the functions which is not supported is the ds_search() function,
which normally allows the application to specify a search criteria
and have the directory service return entries in the namespace which
satisfy the criteria.

      The DCE Cell Directory Services as defined by the Open Software
Foundation (OSF*), does not support a search capability.  It does,
however provide a programming interface called the Cell Directory
Services Progamming Interface (CDSPI) which allows an application to
create CDS entities, add values, read values and remove CDS entities.

      In order to provide the search capability when accessing CDS,
the solution described by this disclosure is to use the existing
CDSPI capabilities to read the CDS namespace and perform the search
using only the functions available with the CDSPI.  The mapping of
these CDSPI invocations is handled by the XDS/XOM programming
interface to emulate the search capability.

      The CDS namespace is a hierarchy of entries composed of
"directories" (which can contain other entries or directories),
"objects" and "soft links" (which is an alias used to provide another
name for an existing object or directory).

      The XDS search request is mapped into a series of CDSPI
requests to examine the CDS namespace and compare with the search
parameters.  This involves "walking" the CDS name...