ansible-plugin-lookup_ldap icon indicating copy to clipboard operation
ansible-plugin-lookup_ldap copied to clipboard

[Feature request] Please add SASL/EXTERNAL for unix socket

Open croessner opened this issue 4 years ago • 0 comments

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.

croessner avatar Apr 16 '20 10:04 croessner