Commits on Oct 2, 2011
  1. make sure to call the correct as_string()

    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.
    marschap committed Oct 1, 2011
Commits on Sep 23, 2011
  1. fix copy & paste typo

    gbarr committed Sep 23, 2011
  2. Revert "Verify hostnames in TLS connections"

    This reverts commit 4dc845e.
    gbarr committed Sep 23, 2011
Commits on Sep 8, 2011
Commits on Sep 7, 2011
  1. implement Asserticon Control

    marschap committed Sep 7, 2011
  2. fix typos

    marschap committed Sep 7, 2011
  3. un-break certificate verification

    Commit 041d540 "Specify that we want to use the 'ldap' scheme to verify
    certificates" unconditionally set IO:Socket::SSL's SSL_verify_cn_scheme
    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.
    marschap committed Sep 7, 2011
Commits on Sep 5, 2011
  1. Verify hostnames in TLS connections

    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.
    chrisridd committed with gbarr Apr 5, 2010
  2. fix POD spelling errors

    provided by Jonathan Yu <> for Debian's package
    marschap committed with gbarr Sep 4, 2011
Commits on Sep 4, 2011
  1. fix POD spelling errors

    provided by Jonathan Yu <> for Debian's package
    marschap committed Sep 4, 2011
Commits on Sep 3, 2011
  1. Release 0.43

    gbarr committed Sep 3, 2011
  2. Release 0.42

    gbarr committed Sep 3, 2011
  3. Release 0.41

    gbarr committed Sep 3, 2011
Commits on Apr 28, 2011
  1. Merged pull request #1 from cmikk/master.

    ldapi:// + SASL authentication fix.
    gbarr committed Apr 28, 2011
  2. Check whether LDAP socket object has a peerhost() method defined

    before calling it. This fixes SASL authentication over UNIX domain
    (ldapi://) sockets.
    Chris Mikkelson committed Apr 28, 2011
Commits on Jan 22, 2011
  1. extend Net::LDAP::Entry->update() to take LDIF objects

    Extend's update() method so that it can take
    Net::LDAP::LDIF objects as handles too, and append the entry's
    data to the LDIF.
    For LDIF arguments also return a Net::LDAP::Message argument:
    on success return LDAP_SUCCESS, on error return LDAP_OTHER.
    One might argue that tis is against the standards, but
    Net::LDAP::Entry->update() is not covered in any standard.
    The big plus is, it allows clients to have one common code path for
    directory servers and LDIF files (except for startup/shutdown)
    which makes using LDIF as "dry-run" output for servers really simple.
    Especially for the result value, it s a lot more convenient than any other
    combination of Net::LDAP::entry->update() and Net::LDAP::Entry->ldif().
    Signed-off-by: Peter Marschall <>
    marschap committed with gbarr Jan 9, 2011
  2. Entry.pod: fix typos

    Signed-off-by: Peter Marschall <>
    marschap committed with gbarr Jul 2, 2010
Commits on Jun 28, 2010
  1. Added cn,o,ou to the default set of case-insensitive attributes

    Signed-off-by: Kartik Subbarao <>
    kartiksubbarao committed with gbarr Jun 26, 2010
  2. [PATCH] use of non-localised $_ in Net::LDAP::Constant causes prolems…

    … in lemonldap-ng
    [perl-ldap 0.4001; perl 5.10.1]
    Please find attached a patch that fixes a problem when requiring
    Net::LDAP in certain environments. The problem can be demonstrated by
    perl -we'require Net::LDAP for (1,2)'
    Similar code is used in lemonldap-ng's test suite since a long time,
    and with perl-ldap 0.4001, tests suddenly fail. There is a bug report
    in Debian about this at
    I hope the patch is OK and you would incorporate it in a future
    perl-ldap release.
    real-dam committed with gbarr Apr 19, 2010
Commits on Mar 24, 2010
  1. Release 0.4001

    gbarr committed Mar 24, 2010
Commits on Mar 12, 2010
  1. Release 0.40

    gbarr committed Mar 12, 2010
Commits on Mar 11, 2010
  1. Add Net::LDAP::Extension::Refresh as described in RFC2589

    Etienne Bagnoud committed with gbarr Mar 11, 2010