Sun Directory Server Enterprise Edition 7.0 Developer's Guide

Returns

This function returns 0 if rdn1 and rdn2 have the same RDN components, or -1 if they do not.