NAS-113096 / 22.12 / Add tests for LDAP + GSSAPI
Add regression tests for using kerberos keytabs with LDAP plugin. Since CI infrastrucutre already has Active Directory deployed, join the AD domain first through libads to generate a keytab and account in AD, then stop the AD service and use the machine account keytab for authentication through the LDAP plugin. This provides coverage for LDAP GSSAPI binds, and general correctness of behavior for generating krb5.conf and keytab when LDAP plugin is used.
Jira URL: https://jira.ixsystems.com/browse/NAS-113096
Currently fails in jenkins, will revisit later.
@anodos325: Please re-target this PR to scale/angelfish 🙏🏼
@anodos325 ping 😄
JIRA ticket https://ixsystems.atlassian.net/browse/NAS-113096 is targeted to the following versions which have not received their corresponding PRs: 22.12.1