Returns an array of suffix DNs handled by the server.
#include "slapi-plugin.h" Slapi_DN ** slapi_get_suffix_list(int show_private, int *count);
This function takes the following parameters:
If set to 1, this list of DNs returned includes suffixes used by Directory Server that do not contain user data. Otherwise, only DNs of suffixes containing user data are returned.
Placeholder to contain the number of suffixes in the list.
This function returns a pointer to an array of Slapi_DN structures containing the base DNs of the suffixes. The count parameter contains the number of suffixes whose DNs are returned.
Free the list returned using slapi_free_suffix_list().