Mozilla LDAP SDK Programmer's Guide: Difference between revisions

m
Typo
(Front page and preface missing TOC, moving here from my user page)
 
m (Typo)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
This ''Programmer's Guide'' shows you how to create LDAP client applications in the C and Java languages to connect to LDAP servers. This guide also shows you how to perform standard LDAP operations. This guide does not cover PerLDAP nor other languages, however.  
This ''Programmer's Guide'' shows you how to create LDAP client applications in the C and Java languages to connect to LDAP servers. This guide also shows you how to perform standard LDAP operations. This guide does not cover PerLDAP nor other languages, however.  


TODO TOC
== What You Find In This Guide  ==
 
''On developing LDAP clients:''
 
*[[Mozilla LDAP SDK Programmer's Guide/Understanding LDAP|Understanding LDAP]]
*[[Mozilla LDAP SDK Programmer's Guide/Choosing a Client SDK|Choosing a Client SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Best Practices for Writing Client Applications|Best Practices for Writing Client Applications]]<br>
 
''On developing with Mozilla LDAP C SDK:''
 
*[[Mozilla LDAP SDK Programmer's Guide/About Mozilla LDAP C SDK|About Mozilla LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Getting Started With LDAP C SDK|Getting Started With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/What's New In LDAP C SDK|What's New In LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Writing an LDAP Client With LDAP C SDK|Writing an LDAP Client With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Using the LDAP C API|Using the LDAP C API]]
*[[Mozilla LDAP SDK Programmer's Guide/Searching the Directory With LDAP C SDK|Searching the Directory With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Using Filter Configuration Files With LDAP C SDK|Using Filter Configuration Files With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Adding, Updating, and Deleting Entries With LDAP C SDK|Adding, Updating, and Deleting Entries With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Comparing Attribute Values With LDAP C SDK|Comparing Attribute Values With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/LDAP URLs With LDAP C SDK|LDAP URLs With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Getting Server Information With LDAP C SDK|Getting Server Information With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/SSL Connections With LDAP C SDK|SSL Connections With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/LDAP Controls With LDAP C SDK LDAP|Controls With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/SASL Authentication With LDAP C SDK|SASL Authentication With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Extended Operations With LDAP C SDK|Extended Operations With LDAP C SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Writing Multithreaded Clients With LDAP C SDK|Writing Multithreaded Clients With LDAP C SDK]]<br>
 
''Mozilla LDAP C SDK Reference:''
 
*[[Mozilla LDAP SDK Programmer's Guide/LDAP C SDK Data Type Reference|LDAP C SDK Data Type Reference]]
*[[Mozilla LDAP SDK Programmer's Guide/LDAP C SDK Function Reference|LDAP C SDK Function Reference]]
*[[Mozilla LDAP SDK Programmer's Guide/LDAP C SDK Result Codes|LDAP C SDK Result Codes]]<br>
 
''On developing with Mozilla LDAP&nbsp;Java SDK:''
 
*[[Mozilla LDAP SDK Programmer's Guide/Getting Started With LDAP Java SDK|Getting Started With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Writing an LDAP Client With LDAP Java SDK|Writing an LDAP Client With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Using the LDAP Java Classes|Using the LDAP Java Classes]]
*[[Mozilla LDAP SDK Programmer's Guide/Searching the Directory With LDAP Java SDK|Searching the Directory With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Using Filter Configuration Files With LDAP Java SDK|Using Filter Configuration Files With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Adding, Updating, and Deleting Entries With LDAP Java SDK|Adding, Updating, and Deleting Entries With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Comparing Attribute Values With LDAP Java SDK|Comparing Attribute Values With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/LDAP URLs With LDAP Java SDK|LDAP URLs With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Getting Server Information With LDAP Java SDK|Getting Server Information With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/SSL Connections With LDAP Java SDK|SSL Connections With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/LDAP Controls With LDAP Java SDK|LDAP Controls With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/SASL Authentication With LDAP Java SDK|SASL Authentication With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Extended Operations With LDAP Java SDK|Extended Operations With LDAP Java SDK]]
*[[Mozilla LDAP SDK Programmer's Guide/Writing Asynchronous Clients With LDAP Java SDK|Writing Asynchronous Clients With LDAP Java SDK]]<br>
 
''Mozilla LDAP Java SDK API Specification:''
 
*TODO - Link to Mozilla Java SDK Javadoc<br>
*[http://www.mozilla.org/directory/javasourcedocs.html Netscape Directory SDK for Java: Source Code Documentation]


== Who Should Use This Guide  ==
== Who Should Use This Guide  ==
Line 8: Line 61:


*Directory Server functionality  
*Directory Server functionality  
*Developing programs in the C programming language or the Java‚Ñ¢ programming language  
*Developing programs in the C programming language or the Java<sup>TM</sup> programming language  
*Specifications for LDAP and related protocols, such as DSML v2  
*Specifications for LDAP and related protocols, such as DSML v2  
*Internet and World Wide Web technologies<br>
*Internet and World Wide Web technologies<br>
Line 14: Line 67:
== Before You Read This Guide  ==
== Before You Read This Guide  ==


Before developing directory client applications, install the [https://wiki.mozilla.org/LDAP_C_SDK LDAP&nbsp;C SDK], or the [http://www.mozilla.org/directory/javasdk.html LDAP Java SDK]<br>  
Before developing directory client applications, install the [https://wiki.mozilla.org/LDAP_C_SDK LDAP&nbsp;C SDK], or the [http://www.mozilla.org/directory/javasdk.html LDAP Java SDK].<br>  


== Additional Recommended Reading  ==
== Additional Recommended Reading  ==
Line 35: Line 88:
== Related Reading  ==
== Related Reading  ==


The SLAMD Distributed Load Generation Engine (SLAMD) is a Java‚Ñ¢ application that is designed to stress test and analyze the performance of network-based applications. It was originally developed by Sun Microsystems, Inc. to benchmark and analyze the performance of LDAP directory servers. SLAMD is available as an open source application under the Sun Public License, an OSI-approved open source license. To obtain information about SLAMD, go to [http://www.slamd.com/ http://www.slamd.com/]. SLAMD is also available as a java.net project. See [https://slamd.dev.java.net/ https://slamd.dev.java.net/].  
The SLAMD Distributed Load Generation Engine (SLAMD) is a Java application that is designed to stress test and analyze the performance of network-based applications. It was originally developed by Sun Microsystems, Inc. to benchmark and analyze the performance of LDAP directory servers. SLAMD is available as an open source application under the Sun Public License, an OSI-approved open source license. To obtain information about SLAMD, go to [http://www.slamd.com/ http://www.slamd.com/]. SLAMD is also available as a java.net project. See [https://slamd.dev.java.net/ https://slamd.dev.java.net/].  


Java Naming and Directory Interface (JNDI) technology supports accessing the Directory Server using LDAP and DSML v2 from Java applications. For information about JNDI, see [http://java.sun.com/products/jndi/ http://java.sun.com/products/jndi/]. The ''JNDI Tutorial'' contains detailed descriptions and examples of how to use JNDI. This tutorial is at [http://java.sun.com/products/jndi/ http://java.sun.com/products/jndi/tutorial/].  
Java Naming and Directory Interface (JNDI) technology supports accessing the Directory Server using LDAP and DSML v2 from Java applications. For information about JNDI, see [http://java.sun.com/products/jndi/ http://java.sun.com/products/jndi/]. The ''JNDI Tutorial'' contains detailed descriptions and examples of how to use JNDI. This tutorial is at [http://java.sun.com/products/jndi/ http://java.sun.com/products/jndi/tutorial/].  
123

edits