This leads to .gitignore and MYMETA.yml being ignored.
This fixes/unbreaks test 77 in t/06constant.t.
This is not yet 100% correct: Net::LDAP::Filter's _encode differ's from what we need by adding a dnAttributes key to the hash ref returned. This is not allowed for Net::LDAP::FilterList.
This comprises the packages * Net::LDAP::Control::MatchedValues * Net::LDAP::FilterList which are both contained in the file lib/Net/LDAP/Control/MatchedValues.pm
* make _encode resonsible for all simple filter items * remove unused variable * update comments
* better documentation - mention RFC - tell the purpose of the control * fix name of the control: LDAP_CONTROL_PROXYAUTHORIZATION Keep the old, wrong name in N:L::Constant for compatibility reasons
As $f is not an object, calling $f->as_string fails. Tell Perl where to find the as_string we want. While I'm at it, make some minor changes to the documentation.
This reverts commit 4dc845e.
Commit 041d540 "Specify that we want to use the 'ldap' scheme to verify certificates" unconditionally set IO:Socket::SSL's SSL_verify_cn_scheme 'ldap'. In principle this is a good thing: it allows to verify whether the name of the host we connect to matches the host name in the certificate presented. But doing it unconditionally led to some trouble: * it broke $ldap->start_tls() completely. see SSL_verifycn_name in IO::Socket::SSL(3) for why * in the case of sslverify = 'none' it created a warning on every connect. This commit fixes both issues.
This is done in connect_ldaps() and start_tls(), and calls IO::Socket::SSL's verify_hostname method. The default (for backwards compatibility?) is to not check, but pass check => 1 if you want checking. Signed-off-by: email@example.com
provided by Jonathan Yu <firstname.lastname@example.org> for Debian's package