Integrate SASL/GSSAPI into the AD and LDAP code

- SSSD isn't integrated yet

Ticket: #6655