Bug 239802
| Summary: | bind_sdb, ldap2zone segfaulting | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomas Vanderka <tomas.vanderka> |
| Component: | bind | Assignee: | Adam Tkac <atkac> |
| Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6 | CC: | ovasik |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 9.4.1-4.fc7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-06-08 15:59:23 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: | 239149 | ||
| Bug Blocks: | 240788 | ||
|
Description
Tomas Vanderka
2007-05-11 13:37:59 UTC
(In reply to comment #0) > finishes ok but binaries are broken. LDAP_DEPRECATED should be defined during > compilation. Better solution is change functions to newer than using deprecated API Regards, -A- Needs more work than I think. You could download temporary solution with LDAP_DEPRECATED macro before I rewrite affected parts of code. http://people.redhat.com/atkac/test_srpms/bind-9.3.4-4.5.fc6.src.rpm -A- Could you please test proposed update? http://people.redhat.com/atkac/test_srpms/bind-9.4.1-2.1.fc8.src.rpm Thanks, -A- Could be fixed in bind-9.3.4-5.fc6 which will be avaliable very soon. Please tell me your feelings :) Regards, Adam Hi, i tried version from comment #3, there are still segfaults. There's one in ldap2zone at 'ttlvals = ldap_get_values(ld, e, "dNSTTL");' bind_sdb segfaults if i use ldapuri like "ldap://host/dc=aaa,dc=bb" (no extensions) cause then data->lud->lud_exts is null at ldapdb.c:643 When i just put ???? at the end of uri, so there's an empty extension ldap_url_parse does not like it. I also tried to put some random text as the extension ????sad but then the bind fails (i use anonymous bind so there's no bindpw or binddn) Let me know if you need more info ... In the end, I've used -DLDAP_DEPRECATED because it's no documentation about new API, informed upstream about problems and open https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=241224 :) . bind-9.3.4-6.fc6 could work fine Regards, Adam bind-9.4.1-4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |