Novell Home

TID100914 (GLNDS) - NDS Context

From Developer Community

Context.exe offers the user a GUI to manipulate different context variables and discover how these variables influence NDS results.

Platform:Win95 or WINNT

Following context variables can be changed:

DCK_NAME_CONTEXT DCK_TREE_NAME DCK_LAST_CONNECTION DCK_CONFIDENCE (low and high) DCK_FLAGS DCV_DEREF_ALIASES DCV_XLATE_STRINGS DCV_TYPE_LESS_NAMES DCV_CANONICALIZE_NAMES DCV_DEREF_BASE_CLASS DCV_DISALLOW_REFERRALS


DETAILED DESCRIPTION

Context.exe offers the user a GUI to manipulate different context variables and discover how these variables influence NDS results.

Platform:Win95 or WINNT

Following context variables can be changed:

DCK_NAME_CONTEXT DCK_TREE_NAME DCK_LAST_CONNECTION DCK_CONFIDENCE (low and high) DCK_FLAGS DCV_DEREF_ALIASES DCV_XLATE_STRINGS DCV_TYPE_LESS_NAMES DCV_CANONICALIZE_NAMES DCV_DEREF_BASE_CLASS DCV_DISALLOW_REFERRALS

To see how changing these values influences NDS results , use buttons: 'Read Object' :to read all attibutes of an object. 'List container' :to list the object in a contaner object. 'Who Am I' :displays your login id.

Included are 2 source files:

glnwcc.cpp glnwcc.cpp

The main functionality of glnwcc.cpp is: List a container. Manipulate the context handle. Read a NDS class. Read a NDS attribute type. Read a NDS object , where following syntax ID's are read:

SYN_BOOLEAN, SYN_COUNTER, SYN_INTEGER , SYN_TIME , SYN_INTERVAL: SYN_CE_STRING, SYN_CI_STRING SYN_CLASS_NAME SYN_DIST_NAME SYN_NU_STRING SYN_PO_ADDRESS SYN_PR_STRING SYN_TEL_NUMBER SYN_OCTET_STRING SYN_OBJECT_ACL SYN_FAX_NUMBER SYN_CI_LIST SYN_STREAM SYN_BACK_LINK SYN_REPLICA_POINTER SYN_TYPED_NAME SYN_PATH

Following NDS functions are used:

NWDSAllocBuf NWDSAuthenticateConn NWDSComputeAttrValSize NWDSCreateContextHandle NWDSFreeBuf NWDSGetAttrDef NWDSGetAttrCount NWDSGetAttrName NWDSGetAttrVal NWDSGetClassDefCount NWDSGetClassDef NWDSGetClassItemCount NWDSGetClassItem NWDSGetContext NWDSGetObjectCount NWDSGetObjectName NWDSInitBuf NWDSList NWDSLogin NWDSOpenStream NWDSPutClassName NWDSPutAttrName NWDSRead NWDSReadAttrDef NWDSReadClassDef NWDSSetContext


glnwcc.cpp

Following api's are used

NWCCScanConnRefs NWCCGetConnRefInfo NWCCOpenConnByName NWCCOpenConnByRef NWCCGetAllConnRefInfo NWCCMakeConnPermanent; NWCCUnlicenseConn NWCCLicenseConn; NWCCSysCloseConnRef

glnds.exe

glnds.exe312.0 K2005-04-06

--devsup

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.