If we're using basedn in a section, be sure it exists
Clearer error messages
My attempt to fix ldap:

	reply: += 'ldapAttrName'

It should work, but it's untested
Fix error message