ldap_get_attributes

(PHP 4, PHP 5, PHP 7) Get attributes from a search result entry array ldap_get_attributes ( resource $link_identifier, resource $result_entry_identifier ) Reads attributes and values from an entry in the search result. Having located a specific entry in the directory, you can find out what information is held for that entry by using this call. You would use this call for an application which "browses" directory entries and

ldap_free_result

(PHP 4, PHP 5, PHP 7) Free result memory bool ldap_free_result ( resource $result_identifier ) Frees up the memory allocated internally to store the result. All result memory will be automatically freed when the script terminates. Typically all the memory allocated for the LDAP result gets freed at the end of the script. In case the script is making successive searches which return large result sets, ldap_free_result() cou

ldap_first_reference

(PHP 4 >= 4.0.5, PHP 5, PHP 7) Return first reference resource ldap_first_reference ( resource $link, resource $result ) This function is currently not documented; only its argument list is available.

ldap_first_entry

(PHP 4, PHP 5, PHP 7) Return first result id resource ldap_first_entry ( resource $link_identifier, resource $result_identifier ) Returns the entry identifier for first entry in the result. This entry identifier is then supplied to ldap_next_entry() routine to get successive entries from the result. Entries in the LDAP result are read sequentially using the ldap_first_entry() and ldap_next_entry() functions.

ldap_first_attribute

(PHP 4, PHP 5, PHP 7) Return first attribute string ldap_first_attribute ( resource $link_identifier, resource $result_entry_identifier ) Gets the first attribute in the given entry. Remaining attributes are retrieved by calling ldap_next_attribute() successively. Similar to reading entries, attributes are also read one by one from a particular entry. Parameters: link_identifier

ldap_explode_dn

(PHP 4, PHP 5, PHP 7) Splits DN into its component parts array ldap_explode_dn ( string $dn, int $with_attrib ) Splits the DN returned by ldap_get_dn() and breaks it up into its component parts. Each part is known as Relative Distinguished Name, or RDN. Parameters: dn The distinguished name of an LDAP entity. with_attrib Used to request

ldap_escape

(PHP 5 >= 5.6.0, PHP 7) Escape a string for use in an LDAP filter or DN string ldap_escape ( string $value [, string $ignore [, int $flags ]] ) Escapes value for use in the context implied by flags. Parameters: value The value to escape. ignore Characters to ignore when escaping. flags The context

ldap_error

(PHP 4, PHP 5, PHP 7) Return the LDAP error message of the last LDAP command string ldap_error ( resource $link_identifier ) Returns the string error message explaining the error generated by the last LDAP command for the given link_identifier. While LDAP errno numbers are standardized, different libraries return different or even localized textual error messages. Never check for a specific error message text, but always use

ldap_errno

(PHP 4, PHP 5, PHP 7) Return the LDAP error number of the last LDAP command int ldap_errno ( resource $link_identifier ) Returns the standardized error number returned by the last LDAP command. This number can be converted into a textual error message using ldap_err2str(). Parameters: link_identifier An LDAP link identifier, returned by ldap_connect().

ldap_err2str

(PHP 4, PHP 5, PHP 7) Convert LDAP error number into string error message string ldap_err2str ( int $errno ) Returns the string error message explaining the error number errno. While LDAP errno numbers are standardized, different libraries return different or even localized textual error messages. Never check for a specific error message text, but always use an error number to check. Parameters: