LDAP group to Zope role mapping

I am using Plone 4.3.9 and Plone.app.ldap.
I want to map LDAP Group to Zope role.
Mapped using Add LDAP group to Zope role mapping in ZMI.
But it is not working.. I still find the group not mapped to Zope role.

When i try to map the LDAP group to role in plone site via users and groups.
I get the following errror

Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module plone.app.controlpanel.usergroups, line 526, in call
Module plone.app.controlpanel.usergroups, line 628, in manageGroup
Module , line 9, in editGroup
Module AccessControl.requestmethod, line 70, in _curried
Module Products.PlonePAS.tools.groups, line 117, in editGroup
Module Products.PloneLDAP.mixins.groupmgmt, line 45, in updateGroup

Hi Erasmu,
The plugin does not support update of Group (that function is not implemented, that is why you see NotImplementedError). So via Zope or Plone you cannot do an update of a Group definition in your LDAP.

You can use a free LDAP tool like ApacheDirectoryStudio (http://directory.apache.org/studio/) and update (or add) the LDAP groups. You can always map these groups. Automatic mapping works when the names of the groups are equal to the Zope roles (upper and lower case will work).


Zope role Viewer will be automatically mapped to LDAP group viewers or Viewers or viewer or Viewer
Be aware that role Site Administrator and Site_Administrator is not the same (spaces and underscores in group names might give problems, especially in certain tools where spaces are not allowed; but just check and be aware of that)