Laboratory

Access Method Build Specifics for LDAP

CampusblankAdminblankLibraryblankLabsblankLecturesblankTestingblankTransit Ctr
blank
PREVIOUSblank Glossary
   

Access Method Build Specifics for LDAP Applications

There are eight steps to setting up to build this example LDAP application:

  1. Install Novell's LDAP C SDK and documentation from http://www.developer.novell.com/ndk.
  2. An LDAP program will need to load certain DLLs in the SDK in order to access NDS. Copy the Ldapsdk, Ldapssl, Ldapx, and nssl DLLs from the SDK's Bin directory into the directory that will contain the executable requiring NDS access, if you have one (OrgChart or OrgBuilder for example). This way, the executable can find and load the SDK DLLs when it is run.
  3. Install the latest version of Novell's cryptographic support modules for Windows clients from http://www.novell.com/products/cryptography.
  4. To obtain a certificate for an SSL/LDAP connection:
    1. Login to the server running NDS as "admin" so that ConsoleOne can access its LDAP configuration objects in the following steps.
    2. Launch ConsoleOne.
    3. Obtain the name of the LDAP certificate key material object from the LDAP server object's SSL Configuration properties page.
    4. Open the LDAP certificate key material object's "certificates" properties page.
    5. Display the "Trusted Root" certificate information by pressing the arrow on the Certificate page's tab.
    6. Select "Export" on the Certificate page to save the certificate to a location you can remember. The name must not be changed from "TrustedRootCert.der" .
  5. Copy the certificate file (.der) into the directory that will contain your LDAP executable code (OrgChart or OrgBuilder). This makes it possible for the executable to find and open the certificate file when it is run.
  6. If you haven't already done so, create your project.
  7. Add the Ldapsdk, Ldapssl, and Ldapx LIB files from the SDK's Lib directory to your project.
  8. Add access paths to your build for the include and lib directories in the LDAP SDK (your lab source will be including LDAP.h and LDAP_SSL.h).

For information on setup to run an LDAP application, refer to Generic Access Method Setup.



PREVIOUSblankTop of Pageblank

    Contact Us | Feedback | License | © 2000 Novell, Inc.
Novell > DeveloperNet > Developer Support
Novell Developer Kit > DeveloperNet University