implementing ldif support