This should be all the necessary modifications to switch from UNL LDAP to UNL AD. The configuration also needs to be updated slightly as shown in the example config.