Bug 487725
Summary: | modification of non-posix group to posix group doesn't catch magic number | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Rob Crittenden <rcritten> | ||||
Component: | Server - DNA Plug-in | Assignee: | Nathan Kinder <nkinder> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 1.1.3 | CC: | benl, jgalipea, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 8.1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-04-29 23:10:55 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 249650, 493682 | ||||||
Attachments: |
|
Description
Rob Crittenden
2009-02-27 17:11:30 UTC
Created attachment 333521 [details]
CVS Diffs
This patch handles modify operations that bring entries into or out of scope of a managed range. If you bring an entry into scope (say by adding the appropriate objectclass), this will assign a value from the range if the magic value or no value is supplied for the managed type.
This fixes it for the ldapmodify test case and I successfully tested it with python-ldap as well. Checked into ldapserver (HEAD). Thanks to Rich for his review, and to Rob for his testing! Checking in ldap/servers/plugins/dna/dna.c; /cvs/dirsec/ldapserver/ldap/servers/plugins/dna/dna.c,v <-- dna.c new revision: 1.18; previous revision: 1.17 done fix verified RHEL 4 DS 8.1 Add regular user modify and then add Posix Account objectclass with no uid assigned Add regular user modify and add Posix Account objectclass with magic uid assigned Add regular group modify and then add Posix Group objectclass with no gid assigned Add regular group modify and then add Posix Group objectclass with magic gid assigned all DNA assigned managed numbers were assigned correctly and dna next values iterated correctly. Working on adding these to DNA automated acceptance tests. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-0455.html |