A few bug fixes and better LDAP example config.