These are the built-in LDAP functions available to use within the pmpolicy file.
Name | Description |
---|---|
ldap_ bind | Bind an LDAP connection to the given credentials. |
ldap_count_entries | Count the number of entries returned by ldap_search. |
ldap_dn2ufn | Convert a DN to a user-friendly format. |
ldap_explode_dn | Return the elements of a DN. |
ldap_first_attribute | Obtain the first attribute in an LDAP entry. |
ldap_first_entry | Obtain the first entry returned by ldap_search. |
ldap_get_attributes | Return all attribute names in an LDAP entry. |
ldap_get_dn | Return the DN of an entry. |
ldap_get_values | Return a list of the values for an attribute. |
ldap_next_attribute | Return the next attribute in an LDAP entry. |
ldap_next_entry | Return the next entry returned by ldap_search. |
ldap_open | Open a connection to an LDAP server. |
ldap_search | Search the LDAP directory. |
Close the LDAP connection. |