mirror of
https://github.com/kakwa/ldapcherry
synced 2024-06-09 12:27:50 +02:00
3fd6dcee82
Before, no particular treatment was done on the user attributes. This caused some issues because python-ldap systematically returns the attribute value as a list (even if it's mono-valuated). Now we recover the attributes used in the group attr templates, and we "normalize" the user attributes before using it in add_to_groups and del_from_groups. By normalize, we mean, transforming the list to it's unique value. In case the attribute doesn't exist or is multi-valuated, it raises an error. |
||
---|---|---|
conf | ||
docs | ||
goodies | ||
ldapcherry | ||
misc | ||
resources | ||
scripts | ||
tests | ||
.gitignore | ||
.travis.yml | ||
ChangeLog.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
run_test.sh | ||
setup.py |