[RCD] patch - generic LDAP support