Bug 908861
Summary: | Error messages encountered when using POSIX winsync | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Sankar Ramalingam <sramling> | ||||
Component: | 389-ds-base | Assignee: | Rich Megginson <rmeggins> | ||||
Status: | CLOSED ERRATA | QA Contact: | Sankar Ramalingam <sramling> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 6.4 | CC: | dpal, jgalipea, jwest, nhosoi, nkinder | ||||
Target Milestone: | rc | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 389-ds-base-1.2.11.15-14.el6_4 | Doc Type: | Bug Fix | ||||
Doc Text: |
Posix Winsync plugin was calling an internal modify function which was not necessary. The internal modify call failed and logged an error message "slapi_modify_internal_set_pb: NULL parameter" which was not clear. This patch stops calling the internal modify function if it is not necessary and the cryptic error message is not observed.
|
Story Points: | --- | ||||
Clone Of: | |||||||
: | 913154 (view as bug list) | Environment: | |||||
Last Closed: | 2013-11-21 21:03:59 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 911468, 913154 | ||||||
Attachments: |
|
Description
Sankar Ramalingam
2013-02-07 17:03:45 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. The QE testcase starts posixWinsyncCreateMemberOfTask task: dn: cn=Posix Winsync API,cn=plugins,cn=config changetype: modify replace: posixWinsyncCreateMemberOfTask posixWinsyncCreateMemberOfTask: TRUE It eventually calls posix_group_fix_memberuid, which registers posix_group_fix_memberuid_callback that is supposed to fix up broken group list in entries if any. But even if there is nothing to fix up, it calls the internal modify function which fails immediately with the reported errors. Instead of calling the internal modify, we could just skip if there is nothing to fix up. The error messages are annoying, but the symptom is benign. I'm attaching the diff to reduce the errors next. Created attachment 696298 [details]
git diff posix-winsync/posix-group-task.c
Fix description: not to call an internal modify if the mods is NULL.
ack Marking the bug as verified since this problem doesn't occur in the Winsync setup. tested build - 389-ds-base-1.2.11.15-27 passsync build - passsync-1.1.5 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. http://rhn.redhat.com/errata/RHBA-2013-1653.html |