Bug 1118055
| Summary: | Add operations rejected by betxn plugins remain in cache | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Noriko Hosoi <nhosoi> |
| Component: | 389-ds-base | Assignee: | Noriko Hosoi <nhosoi> |
| Status: | CLOSED ERRATA | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.0 | CC: | amsharma, nkinder, rmeggins, spichugi |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 389-ds-base-1.3.3.1-1.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 09:36:02 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Noriko Hosoi
2014-07-09 22:24:47 UTC
[1] Enable memberOf plugin (default settings) [2] Enable automember plugin [3] Enable retro changelog plugin dn: cn=MemberOf Plugin,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin objectClass: extensibleObject cn: MemberOf Plugin nsslapd-pluginPath: libmemberof-plugin nsslapd-pluginInitfunc: memberof_postop_init nsslapd-pluginType: betxnpostoperation nsslapd-pluginEnabled: on dn: cn=Auto Membership Plugin,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin objectClass: extensibleObject cn: Auto Membership Plugin nsslapd-pluginPath: libautomember-plugin nsslapd-pluginInitfunc: automember_init nsslapd-pluginType: betxnpreoperation nsslapd-pluginEnabled: on dn: cn=Retro Changelog Plugin,cn=plugins,cn=config objectClass: top objectClass: nsSlapdPlugin objectClass: extensibleObject cn: Retro Changelog Plugin nsslapd-pluginPath: libretrocl-plugin nsslapd-pluginInitfunc: retrocl_plugin_init nsslapd-pluginType: object nsslapd-pluginbetxn: on nsslapd-pluginEnabled: on [root@dhcp201-126 pwpolicy]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF > dn: cn=group cfg,cn=Auto Membership Plugin,cn=plugins,cn=config > objectClass: autoMemberDefinition > objectClass: top > autoMemberScope: dc=example,dc=com > autoMemberFilter: cn=user > autoMemberDefaultGroup: cn=group,dc=example,dc=com > autoMemberGroupingAttr: member:dn > cn: group cfg > EOF adding new entry "cn=group cfg,cn=Auto Membership Plugin,cn=plugins,cn=config" [root@dhcp201-126 pwpolicy]# /usr/lib64/dirsrv/slapd-dhcp201-126/restart-slapd [root@dhcp201-126 pwpolicy]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF > dn: cn=group,dc=example,dc=com > objectclass: top > objectclass: groupOfNames > cn: group > EOF adding new entry "cn=group,dc=example,dc=com" [root@dhcp201-126 pwpolicy]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF > dn: cn=user,dc=example,dc=com > objectclass: person > objectclass: top > cn: user > sn: user > EOF adding new entry "cn=user,dc=example,dc=com" ldap_add: Server is unwilling to perform (53) additional info: Automember Plugin update unexpectedly failed. [root@dhcp201-126 pwpolicy]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF dn: cn=user,dc=example,dc=com objectclass: person objectclass: top cn: user sn: user EOF adding new entry "cn=user,dc=example,dc=com" ldap_add: Server is unwilling to perform (53) additional info: Automember Plugin update unexpectedly failed. [root@dhcp201-126 pwpolicy]# ldapmodify -a -D "cn=directory manager" -w Secret123 -p 389 -h localhost << EOF dn: cn=user,dc=example,dc=com objectclass: person objectclass: top cn: user sn: user EOF adding new entry "cn=user,dc=example,dc=com" ldap_add: Server is unwilling to perform (53) additional info: Automember Plugin update unexpectedly failed. Getting consistent error message, which is expected, Hence VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0416.html The test case is automated in https://pagure.io/389-ds-base/blob/master/f/dirsrvtests/tests/tickets/ticket47815_test.py |