collective / pas.plugins.ldap

Zope (and Plone) PAS Plugin providing users and groups from LDAP directory
http://pypi.python.org/pypi/pas.plugins.ldap
Other
13 stars 19 forks source link

Group search does not work correctly in Plone 5.2-python3 with Active Directory #100

Open marcosamm opened 4 years ago

marcosamm commented 4 years ago

I configured the plugin to connect to Active Directory and I can correctly list the groups at @@usergroup-groupprefs, however the search does not work correctly and only lists when we search for the exact name of the group.

Is this the default behavior? Is there a way to configure the search or is it a bug?

Screenshot_1

Screenshot_2

Screenshot_3

Screenshot_4

zeoserver | The following part definition lists the versions picked:
zeoserver | [versions]
zeoserver | eea.aliases = 1.0
zeoserver | node.ext.ldap = 1.0b11
zeoserver | node.ext.ugm = 0.9.10
zeoserver | pas.plugins.ldap = 1.7.2
zeoserver | plumber = 1.5
zeoserver | pyasn1 = 0.4.8
zeoserver | pyasn1-modules = 0.2.8
zeoserver | python-ldap = 3.2.0
zeoserver | yafowil = 2.3.2
zeoserver | yafowil.plone = 3.0.0
zeoserver | # Required by:
zeoserver | # yafowil.yaml==1.3
zeoserver | PyYAML = 5.3.1
zeoserver | # Required by:
zeoserver | # node.ext.ldap==1.0b11
zeoserver | argparse = 1.4.0
zeoserver | # Required by:
zeoserver | # node.ext.ldap==1.0b11
zeoserver | # pas.plugins.ldap==1.7.2
zeoserver | bda.cache = 1.3.0
zeoserver | # Required by:
zeoserver | # pas.plugins.ldap==1.7.2
zeoserver | node = 0.9.25
zeoserver | # Required by:
zeoserver | # pas.plugins.ldap==1.7.2
zeoserver | odict = 1.7.0
zeoserver | # Required by:
zeoserver | # node.ext.ldap==1.0b11
zeoserver | passlib = 1.7.2
zeoserver | # Required by:
zeoserver | # bda.cache==1.3.0
zeoserver | python-memcached = 1.59
zeoserver | # Required by:
zeoserver | # pas.plugins.ldap==1.7.2
zeoserver | yafowil.widget.array = 1.6.1
zeoserver | # Required by:
zeoserver | # pas.plugins.ldap==1.7.2
zeoserver | yafowil.widget.dict = 1.7
zeoserver | # Required by:
zeoserver | # pas.plugins.ldap==1.7.2
zeoserver | yafowil.yaml = 1.3
kamon commented 3 years ago

I am also experiencing this. And it is not specific to Active Directory. Bug or feature?

jensens commented 3 years ago

Did you try to append an asterisk *? I am pretty sure this was fixed once for users, not sure if groups were taken into account as well.

cyriltata commented 2 years ago

Any progress on this?

jensens commented 2 years ago

Not yet. But I am working a bit on this project (see #113) so if someone like to join me I can help out guiding.