Show Table of Contents
37.23. slapi_rdn_remove()
This function removes the RDN from rdn that matches the given criteria (type, value, and length).
Syntax
#include "slapi-plugin.h" int slapi_rdn_remove(Slapi_RDN *rdn, const char *type, const char *value, size_t length);
Parameters
This function takes the following parameters:
|
rdn
| The target Slapi_RDN structure. |
|
type
| Type (cn, o, ou, etc.) of the RDN searched. |
|
value
| The value of the RDN searched. |
|
length
| Gives the length of value that should be taken into account for the string comparisons when searching for the RDN. |
Returns
This function returns one of the following values:
- 1 if the RDN is removed from rdn.
- 0 if no RDN is removed.

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.