LDAP Setup and Configuration Guide

Requirements

To support Solaris naming clients for naming information lookup the server must support the LDAP v3 protocol. This is necessary because Solaris Naming clients use controls that are available only in v3.

The following controls are available only in v3:

The server must support one of the following authentication methods:

Verify that Directory Supports Simple Page Mode Control.
  1. Use ldapsearch to determine if the directory supports simple page mode control as identified by their OIDs: 1.2.840.113556.1.4.319 simple page mode control type and 2.16.840.1.113730.3.4.2 simple page mode control value.


    # ldapsearch -b "" -s base objectclass=\*

    For our example configuration, ldapsearch returns:


    objectclass=top
    namingcontexts=dc=sun,dc=com,o=internet
    subschemasubentry=cn=schema
    supportedsaslmechanisms=CRAM-MD5
    supportedextension=1.3.6.1.4.1.1466.20037
    supportedcontrol=1.2.840.113556.1.4.319
    supportedcontrol=2.16.840.1.113730.3.4.2
    supportedldapversion=2
    supportedldapversion=3
Verify that Directory Supports Virtual List Views.
  1. Use ldapsearch to determine if the directory supports Virtual List Views as identified by their OIDs: 1.2.840.113556.1.4.473 VLV control type and 2.16.840.1.113730.3.4.9 VLV control value.


    # ldapsearch -b "" -s base objectclass=\*

    For our example configuration, ldapsearch returns:


    objectclass=top
    namingcontexts=dc=sun,dc=com
    namingcontexts=o=NetscapeRoot
    subschemasubentry=cn=schema
    supportedcontrol=2.16.840.1.113730.3.4.2
    supportedcontrol=2.16.840.1.113730.3.4.3
    supportedcontrol=2.16.840.1.113730.3.4.4
    supportedcontrol=2.16.840.1.113730.3.4.5
    supportedcontrol=1.2.840.113556.1.4.473
    supportedcontrol=2.16.840.1.113730.3.4.9
    supportedcontrol=2.16.840.1.113730.3.4.12
    supportedsaslmechanisms=EXTERNAL
    supportedldapversion=2
    supportedldapversion=3
    dataversion=atitrain2.east.sun.com:389 020000605172910 
    netscapemdsuffix=cn=ldap://:389,dc=atitrain2,dc=east,dc=sun,dc=com

    Note –

    For more information on ldapsearch see ldapsearch(1).