Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP lookup #34733

Closed
sparunakian opened this issue Jan 11, 2018 · 8 comments
Closed

LDAP lookup #34733

sparunakian opened this issue Jan 11, 2018 · 8 comments
Labels
affects_2.5 This issue/PR affects Ansible v2.5 feature This issue/PR relates to a feature request. has_pr This issue has an associated PR. support:community This issue/PR relates to code supported by the Ansible community.

Comments

@sparunakian
Copy link
Contributor

Hi,

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

LDAP lookup

SUMMARY

A LDAP lookup would be quite useful to get information from a LDAP server. A use case would be the creation of users queried from the LDAP server.

There already is a community LDAP lookup at https://github.com/quinot/ansible-plugin-lookup_ldap which works very well. The author would be ok with the integration of his lookup: quinot/ansible-plugin-lookup_ldap/issues/11

Regards

@ansibot
Copy link
Contributor

ansibot commented Jan 11, 2018

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot ansibot added affects_2.5 This issue/PR affects Ansible v2.5 feature_idea needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Jan 11, 2018
@Akasurde Akasurde removed the needs_triage Needs a first human triage before being processed. label Jan 11, 2018
@ericwb
Copy link
Contributor

ericwb commented Jan 23, 2018

Is the author interested in creating a pull request? I think that might be a good way to get this feature moving along. I also see value in it.

@ansibot ansibot added feature This issue/PR relates to a feature request. and removed feature_idea labels Mar 2, 2018
@fzimmermann89
Copy link

Unfortunately it's unlikely that the author will create a pull request:
quinot/ansible-plugin-lookup_ldap#11 (comment)

I do not intend to submit this to Ansible, but if someone else feels like investing the time and effort it would take to get the Ansible team to consider it for integration, they should feel free to do so.

@ghost
Copy link

ghost commented Apr 18, 2018

The mentioned plugin is a big pile of messy code with a bad API, no tests and at least one known bug, it won't be wise to merge to ansible.

@maxbback
Copy link

we need a simple ldap lookup module
basicaly a cn matching

@ansibot ansibot added support:community This issue/PR relates to code supported by the Ansible community. and removed support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Sep 21, 2018
@ansibot ansibot added the has_pr This issue has an associated PR. label Jul 27, 2019
@momcilo78
Copy link

Friendly feedback from the outsider (who found this page by looking for precisely this kind of module):

It looks like this plugin is based on the python-ldap. The main drawback is that this requires the binaries (which in turn would make the ansible module less portable):
https://www.python-ldap.org/en/latest/installing.html#pre-built-binaries

I have used this library in the past, until I encountered the portability issues with different platforms (e.g. Windows).

Since then I have switched to ldap3 which python implementation and does not depend on any C/C++ binaries:
https://pypi.org/project/ldap3/

@sivel
Copy link
Member

sivel commented Aug 26, 2020

Thank you very much for your interest in Ansible. We are no longer accepting new modules or plugins in this repository.

You may wish to submit this feature request to https://github.com/ansible-collections/community.general

If you have further questions please stop by IRC or the mailing list:

@sivel sivel closed this as completed Aug 26, 2020
@ansible ansible locked and limited conversation to collaborators Sep 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.5 This issue/PR affects Ansible v2.5 feature This issue/PR relates to a feature request. has_pr This issue has an associated PR. support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants