Added checks for braces at end of string
Formatting
Work around potential race in ldap_create
Allow spaces in certificate passwords
Only include <ldap.h> in ldap.h
Fix argument order in fr_prints so out is first