Permalink
Commits on Sep 16, 2012
  1. Release 0.47

    marschap committed Sep 16, 2012
  2. Merge pull request #12 from marschap/next

    marschap committed Sep 16, 2012
    updates/fixes for next release
  3. FAQ.pod: more updates

    marschap committed Sep 15, 2012
Commits on Sep 6, 2012
  1. Intermediate/SyncInfo.pm: fix newcookie() method

    marschap committed Sep 6, 2012
    Do not return $self->{asn}{cookie} which is never set anwhere.
    Instead return $self->{asn}{newcookie}.
    
    Based on a patch sent by Howard Wilkinson <howard@orb-it.net>:
    
    Date: 20.06.2012 13:06
    From: Howard Wilkinson <howard@orb-it.net>
    To: gbarr <gbarr@pobox.com>
    Reply to: howard@cohtech.com
    
    Graham,
    
    [...]
    
    Also, the following patch is needed to fix a warning which points at a
    bug.
    
    --- LDAP/Intermediate/SyncInfo.pm~      2012-01-29 09:31:37.000000000 +0000
    +++ LDAP/Intermediate/SyncInfo.pm       2012-06-20 12:00:27.000000000 +0100
    @@ -56,9 +56,9 @@
    
    sub newcookie {
      my $self = shift;
    -  @_ ? ($self->{asn}{newcookie}=shift)
    -     : $self->{asn}{newcookie};
    -  $self->{asn}{cookie};
    +  return (@_
    +         ? ($self->{asn}{newcookie}=shift)
    +         : $self->{asn}{newcookie});
    }
    
    sub responseValue {
    
    Howard.
  2. contrib/LWPsearch.pl: new

    marschap committed Sep 6, 2012
    A small sample application to show the usage of LWP::Protocol::LDAP.
  3. LWP/Protocol/ldap.pm: refactor

    marschap committed Sep 6, 2012
    * create objects consistently using 'CLASS->new(args)' instead of 'new CLASS args'
    * indent method parameters for cleaner reading
    * add comments
    * harmonize coding style
    * catch errors in Net::LDAP->new()
    * fix calls of $ldap->code / $ldap->error to $mesg->code / $mesg->error
  4. LWP/Protocol/ldap.pm: use Authorization header to get user & password

    marschap committed Sep 6, 2012
    If user is not given using $uri->userinfo, try to get it from the
    Authorization HTTP header.
    
    Currently only Basic authorization is supported.
  5. LWP/Protocol/ldap.pm: accept extension 'x-tls'

    marschap committed Sep 6, 2012
    Re-factor a bit to accept extension 'x-tls' and to call
    Net::LDAP->start_tls() if it was given.
  6. LWP/Protocol/ldap.pm: allow additional schemes

    marschap committed Sep 6, 2012
    Allow schemes 'ldaps' and 'ldapi' in addition to the pure 'ldap'.
    
    To support the scheme 'ldapi', add LWP/Protocol/ldapi.pm
  7. LWP/Protocol/ldap.pm: use HTTP_... constants

    marschap committed Sep 6, 2012
    * use explicitely imported HTTP_... constants instead of the old RC_... ones
    * change error for illegal methods to HTTP_NOT_IMPLEMENTED,
      which according to the HTTP specs is the correct one
    * allow HEAD method in addition to GET
Commits on Sep 5, 2012
  1. update references to RFCs

    marschap committed Sep 5, 2012
  2. Release 0.46

    marschap committed Sep 5, 2012
  3. Merge pull request #11 from marschap/next

    marschap committed Sep 5, 2012
    fixes for perl-ldap 0.45
  4. LDAP.pm: unbreak - make done a real sub

    marschap committed Sep 5, 2012
    Make done() a real subroutine instead of an alias.
    This unbreaks the tests.
  5. Release 0.45

    marschap committed Sep 5, 2012
  6. Entry.{pm,pod}: slightly extend update() and document it

    marschap committed Sep 3, 2012
    Have Net::LDAP::Entry->update() accept options in the LDIF case too.
    Here they need to be options for Net::LDAP::LDIF->write_entry().
    
    Document the "LDIF" case of Net::LDAP::Entry->update().
  7. LDAP.{pm,pod} new method done() as alias for unbind()

    marschap committed Sep 3, 2012
    This alias helps to clean up the object the same way no matter whether
    it is a Net::LDAP or a Net::LDAP::LDIF object.
    
    This is mainly intended as a convenience function in cooperation
    with Net::LDAP::Entry->update().
    
    After the creation of the Net::LDAP resp. Net::LDAP::LDIF objects using
    their respective constructors, changes can be done consistently using
    Net::LDAP::Entry->update() and the objects can be cleaned up using their
    bind() method.
    
    This comes extremely handy when writing a client that offers the option
    to simulate writes to the directory.
    Simply use the Net::LDAP::LDIF object with the methods above the same way
    you would use the Net::LDAP object, and you will get an LDIF file with
    the simulated changes.
  8. FAQ.pm,contrib/README,TODO: fixes

    marschap committed Sep 2, 2012
    * fix typos
    * replace references to mutatus.co.uk with those to GitHub
    * update some links
  9. Bind.pm: [kludge] work around a warning in Authen::SASL::Perl.pm

    marschap committed Sep 2, 2012
    If not defined, set the SASL property 'ssf' to 0, to avoid the warning
    "Use of uninitialized value in numeric gt (>) at ..." in Authen::SASL::Perl.pm
    
    IMHO the proper way to get this fixed is to fix it Authen::SASL::Perl.pm,
    so I sent a patch with a fix to Graham.
  10. fix typo

    marschap committed Jul 14, 2012
  11. RT#77458 re-work IPv6 support

    marschap committed May 28, 2012
    Do not require a special parameter for IPv6 support but try to to do it
    automatically.
    Use parameters inet4 => N / inet6 => N to force a specific protocol.
Commits on Sep 4, 2012
  1. Don't accumulate intermediate messages passed to a callback.

    Chris Mikkelson authored and marschap committed Apr 28, 2011
Commits on May 17, 2012
  1. Merge pull request #7 from marschap/next

    marschap committed May 17, 2012
    RT#77180 use "sslv23" instead of "sslv2/3" for sslversion