home *** CD-ROM | disk | FTP | other *** search
/ Network Support Encyclopedia 96-1 / novell-nsepro-1996-1-cd2.iso / download / netware / xdsa1.exe / XDSA1.TXT < prev   
Text File  |  1994-10-24  |  3KB  |  78 lines

  1.  
  2.               NOVELL TECHNICAL INFORMATION DOCUMENT
  3.  
  4. TITLE:              Sample -NWDSSearch, NWDSRead and NWDSList.
  5. DOCUMENT ID:        TID021878
  6. DOCUMENT REVISION:  A
  7. DATE:               19OCT94
  8. ALERT STATUS:       Yellow
  9. INFORMATION TYPE:   Issue
  10. README FOR:         XDSA1.EXE
  11.  
  12. NOVELL PRODUCT and VERSION:
  13. NLM SDK for NetWare 4.0 1.0c
  14.  
  15. ABSTRACT:
  16.  
  17. This self extracting zip file contains sample code that provides access to NDS
  18. using a simplified streams-like interface.
  19.  
  20. -----------------------------------------------------------------
  21. DISCLAIMER
  22. THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL.  NOVELL
  23. MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION.  HOWEVER, THE
  24. INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY.  NOVELL
  25. MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
  26. -----------------------------------------------------------------
  27.  
  28. ISSUE
  29.  
  30. DSACCESS files show how to use the NWDSSearch, NWDSRead and NWDSList api calls
  31. to access NDS.  They are organized in a way to provide a streams like
  32. interface to them: allocating a handle, initiating the operation, reading data
  33. and closing the handle.  It demonstrates how to allocate and initialize
  34. buffers as well as getting information from buffers.
  35.  
  36. DSACDEMO.NLM shows how to use the dsaccess library to search, read and list
  37. the directory.  This example returns phone numbers for users that have one. 
  38. The application asks you to login to NDS by providing an administrator name
  39. and password.  Provide a typed distinguished name for the user since default
  40. context is typed, in 4.1 any name format will work.  Since connection 0 cannot
  41. access NDS like it can the bindery, the login is required.
  42.  
  43. The syntax and output of DSACDEMO are described below:
  44.  
  45. Syntax: load DSACDEMO <base object to find telephone numbers from>
  46.  
  47. Output: Search results-showing telephone numbers of all user objects found
  48. below the base object;  read results-showing the telephone numbers of the
  49. first object found in the search results; and list results-showing all objects
  50. below the base object specified.
  51.  
  52.  
  53. Self-Extracting File Name:  XDSA1.EXE     Revision:  A
  54.  
  55. Files Included     Size     Date      Time
  56.  
  57. \
  58.    XDSA1.TXT         (This File)
  59.   DSACCESS.C      30637   10-21-94   11:51a
  60.   DSACCESS.H       4386   10-20-94    3:40p
  61.   DSACDEMO.C      11972   10-21-94   11:51a
  62. DSACDEMO.NLM      20801   10-21-94    4:41p
  63.  
  64.  
  65. DSACCESS.C     Streams like interface source code.
  66. DSACCESS.H     Prototypes and macro definitions for using interface.
  67. DSACDEMO.C     Sample source for using interface.
  68. DSACDEMO.NLM   Sample executable.
  69.  
  70.  
  71. -----------------------------------------------------------------
  72. Any trademarks referenced in this document are the property of their
  73. respective owners.  Consult your product manuals for complete trademark
  74. information.
  75. -----------------------------------------------------------------
  76.  
  77.  
  78.