ansible-plugin-lookup_ldap
ansible-plugin-lookup_ldap copied to clipboard
[Feature request] Please add SASL/EXTERNAL for unix socket
https://github.com/quinot/ansible-plugin-lookup_ldap/blob/648c5395e1d6968f06d596266ed11d3e4ec5978b/lookup_plugins/ldap.py#L192
Is there any chance to get SASL/EXTERNAL added? Would help to use the local unix socket on a LDAP server.
I have similar stuff in my code:
auth_tokens = ldap.sasl.external(self.__authz_id) con.sasl_interactive_bind_s("", auth_tokens)
self._authz_id defaults to "", if not specified.
So adding SASL/EXTERNAL for unix socket (not x509) should be simple.