Using Client-Library, you may view directory entries by coding an application that installs a directory callback routine, then calls ct_ds_lookup and ct_ds_objinfo. See Chapter 9, “Using Directory Services,” in the Open Client Client-Library/C Programmers Guide for details.