Bugzilla – Attachment 42387 Details for
Bug 96976
VUL-0: CVE-2005-2302: pdns LDAP backend bugs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
pdns-2.9.17-ldap.patch
pdns-2.9.17-ldap.patch (text/plain), 559 bytes, created by
Vladimir Nadvornik
on 2005-07-18 11:31:10 UTC
(
hide
)
Description:
pdns-2.9.17-ldap.patch
Filename:
MIME Type:
Creator:
Vladimir Nadvornik
Created:
2005-07-18 11:31:10 UTC
Size:
559 bytes
patch
obsolete
>--- modules/ldapbackend/ldapbackend.cc >+++ modules/ldapbackend/ldapbackend.cc >@@ -122,8 +122,11 @@ > inline bool LdapBackend::list_simple( const string& target, int domain_id ) > { > string filter; >+ string qesc; >+ >+ qesc = toLower( m_pldap->escape( target ) ); >+ filter = "(|(associatedDomain=" + qesc + ")(associatedDomain=*." + qesc + "))"; > >- filter = "(|(associatedDomain=" + target + ")(associatedDomain=*." + target + "))"; > m_msgid = m_pldap->search( getArg("basedn"), LDAP_SCOPE_SUBTREE, filter, (const char**) ldap_attrany ); > > return true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 96976
: 42387 |
42388