This function takes the following parameters:
Entry that you want to convert into an LDIF string.
Length of the returned LDIF string.