Patches for Example usage of LDAP plugin [sf#1877447] [#874]