Prev   Next

Program Steps

When working with LDAP, the basic program steps are:

Step Description
1

Connect to the server.

  • ldap_init()
  • 2

    Bind to service. This may be optional, depending on how the server is configured and the type of operation being performed. All modifications to the database require a bind to be performed.

  • ldap_simple_bind_s
  • 3

    Perform operation.

  • ldap_search_ext_s
  • 4

    Process results (for a query).

  • ldap_first_entry
  • 5

    Unbind connection.

  • ldap_unbind
  • Prev   Next