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

Fix for unexpected ldap-search attribute selection #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rmattes
Copy link

@rmattes rmattes commented Apr 5, 2015

This change implements the attribute selection as suggested by @rwiker in
issue #7.

The :attributes parameter of ldap:search can take the following forms:

  • nil -- no attributes will be returned
  • t -- all (user) attributes will be returned
  • (a list of attributes) -- the requested attributes will be returned

Nota Bene: currently trivial-ldap will always return the attribute used as the RDN for the
entry, even if asked to return no attributes at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant