5.7 Default Context Key Values

When a context handle is created, it is initialized to the following default values. To modify the default values, use the NWDSGetContext and the NWDSSetContext functions. To understand the default values, see Section 5.6, Context Keys and Flags.

Key Name

C Value

Default Value

DCK_FLAGS

1

DCV_DEREF_ALIASES | DCV_XLATE_STRINGS | DCV_CANONICALIZE_NAMES

DCK_CONFIDENCE

2

DCV_LOW_CONF

DCK_NAME_CONTEXT

3

For client applications, the default value for the client machine.

For the NLM platform, the bindery context.

DCK_LAST_CONNECTION

8

For client applications, the connection to the server in the eDirectory tree that was used previously to service eDirectory operations.

For the NLM platform, initialized to no connection.

DCK_TREE_NAME

11

For client applications, the preferred tree of the client machine.

For the NLM platform, the tree of the local server.

DCK_DSI_FLAGS

12

DSI_ENTRY_FLAGS | DSI_OUTPUT_FIELDS | DSI_SUBORDINATE_COUNT | DSI_MODIFICATION_TIME | DSI_BASE_CLASS | DSI_ENTRY_RDN | DSI_ENTRY_DN

DCK_NAME_FORM

13

DCV_NF_PARTIAL_DOT

DCK_NAME_CACHE_DEPTH

15

5