Bug 41714 - Cleanup LDAP patch - rework LDAP URI parsing
Cleanup LDAP patch - rework LDAP URI parsing
Status: CLOSED DUPLICATE of bug 42389
Product: UCS
Classification: Unclassified
Component: DNS
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Philipp Hahn
Arvid Requate
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-01 11:49 CEST by Philipp Hahn
Modified: 2017-04-04 18:29 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2016-07-01 11:49:53 CEST
The patches should be merged:
040_bind9_ldap.patch
060_bind9_ldap_openldap2.4.patch
061_bind9_ldap_idletimeout.patch
062_bind9_ldap-fix-sdb-ldap-double-free.patch

As ldap_initialize() is now used which accpets an URI, it is no longer necessary to parse the LDAP-URL by itself as that was required for the use of the deprecated ldap_open().
This would allow BIND to also use other ldap-URIs like ldaps:// or even ldapi:///, which would help with Bug #28748
Comment 1 Philipp Hahn univentionstaff 2016-09-15 10:44:40 CEST
There are new versions of the "bind9-ldap" at <http://bind9-ldap.bayour.com/>/<https://github.com/FransUrbo/bind9-ldap>

They are both more or less dead and contain errors preventing building them with the current BIND9. I fixed them in my GIT tree.

(In reply to Philipp Hahn from comment #0)
> As ldap_initialize() is now used which accpets an URI, it is no longer
> necessary to parse the LDAP-URL by itself as that was required for the use
> of the deprecated ldap_open().
> This would allow BIND to also use other ldap-URIs like ldaps:// or even
> ldapi:///, which would help with Bug #28748

This is now possible as it is implemented since v1.1

*** This bug has been marked as a duplicate of bug 42389 ***
Comment 2 Stefan Gohmann univentionstaff 2017-04-04 18:29:10 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

If this error occurs again, please use "Clone This Bug".