Returns one of the following values:
LDAP_SUCCESS if the user has write permission to the values in the specified attributes.
LDAP_INSUFFICIENT_ACCESS if the user does not have write permission to the values of the specified attribute.
If a problem occurs during processing, the function will return one of the following error codes:
An error occurred while executing the operation.
Invalid syntax was specified.
This error can occur if the ACL associated with an entry, attribute, or value uses the wrong syntax.
The DSA (this directory server) is unable to perform the specified operation.
This error can occur if, for example, you are requesting write access to a read-only database.