Sun Java System Directory Server Enterprise Edition 6.1 Developer's Guide

Returns

This function should return 0 on success. It should return -1 if does not handle the attribute type passed in a. Otherwise, it should return an LDAP error code.