[AS7-4807] add support for ldap authorization
Port the changes contributed by Flemming Harms over to version 2.0 of the schema.