Bug 214682
| Summary: | DNS based ACIs not working correctly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Nathan Kinder <nkinder> | ||||
| Component: | Security - Access Control (ACL) | Assignee: | Nathan Kinder <nkinder> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.0.2 | CC: | nhosoi, rmeggins | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-07 17:07:59 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: | 152373, 240316 | ||||||
| Attachments: |
|
||||||
|
Description
Nathan Kinder
2006-11-08 20:56:31 UTC
Created attachment 140714 [details]
CVS Diffs
Looks good! This is a snippet of the comments of PL_strncpyz. So, this is what was happening... * PL_strncpyz * NOTE: If you call this with a source "abcdefg" and a max of 5, the * destination will end up with "abcd\0" (i.e., its strlen length will be 4)! * Thanks for the review Noriko! The fix is now checked into ldapserver (HEAD). Checking in lasdns.cpp; /cvs/dirsec/ldapserver/lib/libaccess/lasdns.cpp,v <-- lasdns.cpp new revision: 1.7; previous revision: 1.6 done I was able to modify a db with the following aci: (targetattr = "*") (version 3.0;acl "<Unnamed ACI>";allow (all)(userdn = "ldap:///anyone" and dns = "*");) Verified aginst: 1197673782 redhat-ds-base-8.0.0-11.el5dsrv Fri Dec 14 2007 1197673784 redhat-ds-admin-8.0.0-1.15.el5dsrv Fri Dec 14 2007 1197673785 redhat-ds-console-8.0.0-8.el5dsrv Fri Dec 14 2007 1197673786 redhat-admin-console-8.0.0-9.el5dsrv Fri Dec 14 2007 |