Returns a pointer to the DN of the suffix containing the target.
#include "slapi-plugin.h" Slapi_DN* slapi_sdn_get_suffix(const Slapi_DN *target_sdn);
This function takes the following parameter:
DN of the target entry whose suffix you want.
This function returns a pointer to a Slapi_DN structure containing the base DN of the suffix for the entry with target_sdn, or NULL if that suffix is not available.
Free the structure returned using slapi_sdn_free().