Patch LDAP and various bugfixing.