Returns the LDIF string representation of the entry you specify. If an error occurs, the function returns NULL.