Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Build the Netscape Directory Server SDK from Source

Get a comprehensive guide through the process of obtaining LDAP client software (Netscape Directory SDK), building it from source, and testing the interface with Netscape Directory Server.


advertisement
DAP (Lightweight Directory Access Protocol) is the defacto standard in many enterprises for organizing and managing directory services (employee directory, network URLs, etc.). Common implementations include Netscape’s Directory Server, IBM’s Tivoli Directory Server, and OpenLDAP.

While not a tutorial on LDAP itself, this article walks through the process of obtaining the necessary LDAP client software (Netscape Directory SDK), building it from source (avoiding the need to purchase a license and binary distribution from Sun), and briefly testing the interface with Netscape Directory Server. (For good resources on LDAP, see the Related Resources section of this article).

To follow the instructions, you need Netscape Directory Server 4.x and J2SE 1.2.x or higher installed. Since Netscape Directory Server is no longer distributed (Sun has incorporated the original codebase into its iPlanet Directory Server as a part of Sun ONE), finding current documentation on this process can be rather difficult.



Getting the Source
Building the Netscape Directory Server SDK requires one source bundle (the Netscape Directory SDK for Java), while another source bundle is optional (Jakarta-ORO Java library). If all you need to do is bind, lookup, modify, and delete LDAP entries, then the Netscape Directory SDK for Java is sufficient. If, however, you want to apply filters to your LDAP searches and incorporate regular expression matching, you need the Jakarta-ORO Java library.

  • Netscape Directory SDK for Java (required)
    1. Open www.mozilla.org/directory in your favorite browser. (I prefer Mozilla Firebird.)
    2. Click the “LDAP Java SDK” link.
    3. Download the tar (Linux and Unix platforms) or zip (Windows).
    4. Alternately, you can check the source out of CVS directly (instructions further down the page).
  • Jakarta-ORO Java library (optional)
    1. Open jakarta.apache.org/oro in your favorite browser.
    2. Click the “Download” link on the left.
    3. Scroll down a LONG way (or you can search for ‘ORO’, and skip the first result).
    4. Download the tar (Linux and Unix platforms) or zip (Windows).
    5. Alternately, you can check the source out of CVS directly (instructions available via link on the left at the top of the page).



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap