OSF DCE Application Development Guide--Introduction and Style Guide

Using the DCE Name Service
UUID from the object entry, it will use that object UUID in its subsequent import
through the group attribute.
Thus, the object UUID will be contained in the handle structure that the client presents to
the rpc_ns_binding_import_next() call, expecting it to be filled in with binding
information. However, the RPC runtime always tries to match such an input object
UUID with a UUID contained in the entry that the caller is trying to import from. If no
matching object UUID is found, no binding information will be returned. Thus, all the
single object UUIDs separately exported to the object entries must be exported to the
server entry as well, if the exported objects are to have ACLs accessible through the
acl_edit mechanism.
The following figure illustrates the resulting namespace arrangement.
Figure 5-9. The Export Operation in a Model with Grouped Bindings
Endpoint
Mapper
Server
A
B
C
D
Server
bindings
Server
group
Server
group
Server
group
Server
group
"A"
object
UUID
"B"
object
UUID
"C"
object
UUID
"D"
object
UUID
attrib
attrib attrib attrib
Server entry
.....................................................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
......................................................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
namespace
...............................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
................................
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
server’s host machine
export server binding information to
one (server) entry
create object entries for service objects
This generic server manages four objects, called simply A, B, C, and D. One entry is
created for each of these objects, and a separate entry is created for the server itself,
where the binding information is held.
The result of all this is that there is now one more namespace entry for a given service
instance than there would have been with the object-oriented model discussed earlier.
The group attribute in each entry is a level of indirection that allows the server to
dispense with exporting many copies of the same thing.
If a directory with the proper permissions has been set up for it in the namespace by the
system administrator, a server should be able to create the object entries simply by
making the calls described here.
124246 Tandem Computers Incorporated 5 27