bgcolor="#FFFFFF">
CONTENTS | PREV | NEXT

Appendix B:

Examples for LDAP Programmers

This appendix contains sample JNDI programs intended to help a developer familiar with the LDAP C API. Starting with sample programs from the Netscape Directory SDK for accessing and updating the directory using the LDAP C API, we show the equivalent way of doing the same thing for Java applications using JNDI.

B.1 Search the Directory

B.2 Read An Entry

B.3 Get Attributes

B.4 Compare An Attribute

B.5 Modify Attributes

B.6 Rename An Entry


CONTENTS | PREV | NEXT


Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.