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

Returns

This function returns -1 if there is no RDN that matches the content type, or the real position of the first RDN within RDN that matches the content of type.