PEAR | --Net_LDAP_Util
Net_LDAP_Util Net_LDAP_Util( object Net_LDAP &$ldap)
Takes an LDAP object by reference and saves it. Then the schema will be fetched.
array utf8Decode( array $attributes)
array utf8Encode( array $attributes)
This function takes attributes in an array and then checks against the schema if they need UTF8 encoding. If that is so, they will be encoded. An encoded array will be returned and can be used for adding or modifying.