39.11. slapi_sdn_get_backend_parent()
#include "slapi-plugin.h" void slapi_sdn_get_backend_parent(const Slapi_DN *sdn, Slapi_DN *sdn_parent,const Slapi_Backend *backend);
This function takes the following parameters:
|
sdn
| DN of the entry whose parent is searched. |
|
sdn_parent
| Parent DN of sdn. |
|
backend
| Backend of which the parent of sdn is to be searched. |
This function gets the parent DN of an entry within a given backend. The parent DN is returned is sdn_parent, unless sdn is empty or is a suffix of the backend itself. In this case, sdn_parent is empty.
A Slapi_DN structure for sdn_parent must be allocated before calling this function.

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.