37.2. slapi_rdn_compare()
This function compares rdn1 and rdn2. For rdn1 and rdn2 to be considered equal RDNs, their components do not necessarily have to be in the same order.
#include "slapi-plugin.h" int slapi_rdn_compare(Slapi_RDN *rdn1, Slapi_RDN *rdn2);
This function takes the following parameters:
|
rdn1
| The first RDN to compare. |
|
rdn2
| The second RDN to compare. |
This function returns one of the following values:
- 0 if rdn1 and rdn2 have the same RDN components.
- -1 if they do not have the same components.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.