ldap_search

(PHP 4, PHP 5, PHP 7) Search LDAP tree resource ldap_search ( resource $link_identifier, string $base_dn, string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref ]]]]] ) Performs the search for a specified filter on the directory with the scope of LDAP_SCOPE_SUBTREE. This is equivalent to searching the entire directory. From 4.0.5 on it's also possible to do parallel searches

ldap_sasl_bind

(PHP 5, PHP 7) Bind to LDAP directory using SASL bool ldap_sasl_bind ( resource $link [, string $binddn = NULL [, string $password = NULL [, string $sasl_mech = NULL [, string $sasl_realm = NULL [, string $sasl_authc_id = NULL [, string $sasl_authz_id = NULL [, string $props = NULL ]]]]]]] ) Returns: Returns TRUE on success or FALSE on failure. This functi

ldap_rename

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Modify the name of an entry bool ldap_rename ( resource $link_identifier, string $dn, string $newrdn, string $newparent, bool $deleteoldrdn ) The entry specified by dn is renamed/moved. Parameters: link_identifier An LDAP link identifier, returned by ldap_connect(). dn The distinguished name of an LDAP

ldap_read

(PHP 4, PHP 5, PHP 7) Read an entry resource ldap_read ( resource $link_identifier, string $base_dn, string $filter [, array $attributes [, int $attrsonly [, int $sizelimit [, int $timelimit [, int $deref ]]]]] ) Performs the search for a specified filter on the directory with the scope LDAP_SCOPE_BASE. So it is equivalent to reading an entry from the directory. Parameters: link_ident

ldap_parse_result

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Extract information from result bool ldap_parse_result ( resource $link, resource $result, int &$errcode [, string &$matcheddn [, string &$errmsg [, array &$referrals ]]] ) Parses an LDAP search result. Parameters: link An LDAP link identifier, returned by ldap_connect(). result_identifier

ldap_parse_reference

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Extract information from reference entry bool ldap_parse_reference ( resource $link, resource $entry, array &$referrals ) This function is currently not documented; only its argument list is available.

ldap_next_reference

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Get next reference resource ldap_next_reference ( resource $link, resource $entry ) This function is currently not documented; only its argument list is available.

ldap_next_entry

(PHP 4, PHP 5, PHP 7) Get next result entry resource ldap_next_entry ( resource $link_identifier, resource $result_entry_identifier ) Retrieve the entries stored in the result. Successive calls to the ldap_next_entry() return entries one by one till there are no more entries. The first call to ldap_next_entry() is made after the call to ldap_first_entry() with the result_entry_identifier as returned from the ldap_first_entry

ldap_next_attribute

(PHP 4, PHP 5, PHP 7) Get the next attribute in result string ldap_next_attribute ( resource $link_identifier, resource $result_entry_identifier ) Retrieves the attributes in an entry. The first call to ldap_next_attribute() is made with the result_entry_identifier returned from ldap_first_attribute(). Parameters: link_identifier An LDAP link identifier, returned by ldap_

ldap_modify

(PHP 4, PHP 5, PHP 7) Modify an LDAP entry bool ldap_modify ( resource $link_identifier, string $dn, array $entry ) Modify the existing entries in the LDAP directory. The structure of the entry is same as in ldap_add(). Parameters: link_identifier An LDAP link identifier, returned by ldap_connect(). dn The distinguished name of an LDAP