Solaris ISP Server 2.0 Administration Guide

ISP Directory Information API

The ISP Directory Information API provides C and Java programming language access to the directory services. The functions return information specific to the directory information tree (DIT) used by Solaris ISP Server. By default, the header file is located at /opt/SUNWisp/include/isp_dir_api.h, and the library is located at /opt/SUNWisp/lib/libispdir.so.1. The Java package is com.sun.isp.idia.

The directory information API includes the following:

ispGetLdapInfo(3X)

This C functions provides the distinguished name and password for binding to the LDAP server with access to a particular region of the directory information tree (DIT).

ispGetLdapServers(3X)

This C function provides the names and port numbers of LDAP directory servers configured on the network.

ispGetTopDn(3X)

This C function provides the distinguished name of the root domain (top-level domain entry in the DIT, under which Solaris ISP Server information is stored).

ispLdapService(3X)

This Java class provides information on LDAP servers configured on the network. Various class methods return the root domain entry in the DIT and distinguished names and passwords for binding to the directory.