Permalink
Commits on Mar 28, 2012
  1. Merge branch 'master' of https://github.com/antong/ldaptor

    Conflicts:
    	ldaptor/protocols/pureldap.py
    committed Mar 28, 2012
Commits on Mar 15, 2012
  1. Clarify that license is LGPL

    antong committed Mar 15, 2012
Commits on Jan 30, 2012
Commits on Dec 7, 2011
  1. Handle additional records in DNS response

    Instead of asserting that every DNS record returned for the SRV lookup is a
    SRV record, just suppress printing other records. This is because DNS
    servers do include additional records, such as A records for the resources
    in the reply. Previously that would cause an ugly crash and traceback.
    antong committed Dec 7, 2011
  2. Fix dns import

    twisted.protocols.dns was moved to twisted.names.dns long ago in
    Twisted 2.0. There used to be a compatibility layer in
    twisted.protocols.dns, but that was removed in Twisted 9.0.
    
    https://bugs.launchpad.net/ubuntu/+source/ldaptor/+bug/881404
    antong committed Dec 7, 2011
Commits on Jun 21, 2011
  1. fix starttls support

    a small bug in the LDAPExtendedRequest constructor was making the
    LDAPStartTLSRequest constructor fail
    Adam Goodman committed Jun 21, 2011
  2. minor bugfix (wrong module name)

    Adam Goodman committed Jun 21, 2011
  3. added very basic, low-level support for SASL credentials in the

    pureldap module
    
    When constructing an LDAPBindRequest, now you can pass 'sasl=True' to
    indicate you're providing SASL, rather than plain, credentials. Then,
    provide the 'auth' parameter as a tuple of (mechanism,
    credentials). For example, if constructing a bind request for an
    Active Directory server, you might do something like:
    
    LDAPBindRequest(dn=..., auth=('GSS-SPNEGO', 'NTLMSSP...'), sasl=True)
    
    (note that 'NTLMSSP' begins an NTLM Negotiate Message)
    
    Also, when parsing server responses (e.g. LDAPBindResponse), the
    serverSaslCreds field will be populated if appropriate.
    
    None of this is exposed in the higher-level interfaces
    (e.g. LDAPClient) yet.
    Adam Goodman committed Jun 21, 2011
Commits on Mar 1, 2011
  1. Update README

    Use Markdown syntax for the readme and name it README.md accordingly.
    Update the readme with current information and a simple usage
    example. The info in INSTALL.txt is incorporated into the main readme
    and INSTALL.txt is removed.
    antong committed Mar 1, 2011
Commits on Feb 22, 2011
  1. Docstring fix

    antong committed Feb 22, 2011
Commits on Feb 18, 2011
  1. Add instructions file.

    davidstrauss committed with antong Feb 16, 2011
  2. Use hashlib and built-in set() instead of deprecated modules

    Use hashlib instead of the deprecated sha module. To remain
    compatible with Python 2.4, the old sha module is used if
    hashlib cannot be imported.
    
    Use the built-in set() type instead of the deprecated sets.Set().
    
    [Anton: squashed several set() and hashlib fixes into one change
    	and added the conditional sha import for Python 2.4
    	compatibility. ]
    davidstrauss committed with antong Feb 16, 2011
Commits on Sep 2, 2010
  1. Extend test driver send_multiResponse() to return deferred and throw …

    …errors
    
    The deferred returned by the LDAP client send_multiResponse() method was
    previously unused in all code covered by tests, and so the replacement
    method in the test driver just returned None. The deferred is now used
    in search() and this change makes the test driver also return a deferred
    instead of None in order to make things work when run within the test
    framework.
    
    To make it possible to test failures in the client send() and
    send_multiResponse() methods, the test driver is changed to accept Failure
    instances in place of lists of LDAPProtocolResponses.  Doing this causes
    the errback on the deferred to be called with this failure.
    
    The LDAPSyntaxSearch and Bind test cases are augmented with one test each
    to use the new failure functionality in the client test driver. As the
    search() code a while back did not handle errors in the send_multiResponse()
    deferred chain the test case would time out if run against older code.
    Therefore a smaller timeout of 3 seconds is set for the LDAPSyntaxSearch test
    case.
    antong committed Sep 1, 2010
Commits on Sep 1, 2010
  1. Reroute errback to deferred returned by search()

    The LDAPEntryWithClient.search() method used to send the LDAP request with
    a call like
    	self.client.send_multiResponse(... )
    send_multiResponse() returns a deferred that was just discarded. If the
    operation causes an error then the errback fired on the discarded deferred
    will remain unhandled. The deferred returned by search() will then not
    have any errback fired and the caller of search() will be waiting forever.
    
    This change adds an errback to the deferred returned by send_multiResponse()
    and has the error rerouted to the errback chain of the deferred returned by
    search().
    antong committed Aug 19, 2010
  2. Make it possible to specify local address for LDAP client

    This adds an optional argument 'bindAddress' to the LDAPClientCreator.connect()
    method. This argument is ultimately passed as-is to reactor.connectTCP to
    specify the local address and port to use for the client connection.
    antong committed Sep 1, 2010
Commits on Aug 2, 2010
  1. Added stub for SearchResultReference

    Microsoft Active Directory returns these by default, and adding this
    stub prevents choking.
    antong committed Jun 18, 2010
Commits on Aug 23, 2008
  1. Store and re-output arbitrary experimental terms of attributeTypes.

    Newer OpenLDAP servers include X-ORDER in their schema, so this is
    needed to keep Ldaptor working against OpenLDAP.
    
    Earlier there have been individual special cases for some other
    experimental terms, but as I believe they will just become more and
    more common (as the OpenLDAP people get more and more enthusiastic
    about rewriting the world in LDAP), I chose to add generic
    experimental term processing instead.
    
    Note that this is limited to attributeTypes only, and the experimental
    terms are not understood in any way. Also please realize the schema
    "parser" is very limited, and e.g. requires terms to be in a certain
    order; it is the minimum amount of functionality needed to
    interoperate with some popular LDAP servers. Some day, schema parsing
    might be rewritten with pyparsing, but right now the need for that
    just isn't strong enough.
    tv42 committed Aug 23, 2008
Commits on Aug 22, 2008
  1. Cleanup traces of BitKeeper.

    tv42 committed Aug 22, 2008
  2. Merge branch 'nmu'

    Conflicts:
    	debian/changelog
    	debian/control
    	debian/ldaptor-common.install
    	debian/postinst
    	debian/python-ldaptor.install
    	debian/rules
    	ldaptor/apps/webui/search.py
    tv42 committed Aug 22, 2008
  3. Import QA upload 0.0.43-2 by Peter Eisentraut <petere@debian.org>

      * QA upload.
      * Deleted /usr/doc handling in postinst (closes: #359444)
      * Added missing #DEBHELPER# tokens in maintainer scripts
    tv42 committed Aug 22, 2008
  4. Import QA upload 0.0.43-1 by Barry deFreese <bddebian@comcast.net>

      * QA upload.
        + Set maintainer as Debian QA Group.
      * Acknowledge NMUs.
        + Remove ldiffdiff, ldiffpatch references (Closes: #370552).
        + Remove dummy package description (Closes: #420771).
      * Make package non-native.
        + Maintainer is no longer upstream.
        + Upstream appears dormant.
      * Bump debhelper build-dep and compat to 6.
      * Add Homepage field in control.
      * Remove ldaptor-common package (Closes: #385447).
        + Leave empty ldaptor-common.install because orig.tar.gz has debian dir
    tv42 committed Aug 22, 2008
  5. Import NMU 0.0.43-0.6 by Josselin Mouette <joss@debian.org>

      * Non-maintainer upload.
      * Support the latest python policy. Closes: #445285.
      * Select the DEB_PYTHON_SYSTEM.
      * Build-depend on python-support and cdbs 0.4.49.
      * Lots of cleanup in the rules file.
      * setup.py: install skin-default.html. Closes: #408492.
      * interfaces.py, apps/webui/{iwebui,search}.py: use zope.interface
        instead of the deprecated twisted.python.components.
      * debian/{postinst,prerm}: removed, not necessary anymore.
      * Standards version is 3.7.3
      * Fix list formatting in the long descriptions.
      * Fix description for python-ldaptor.
    tv42 committed Aug 22, 2008
Commits on Aug 21, 2008
  1. Import NMU 0.0.43-0.5 by Mario Iseli <mario@debian.org>

      * Fix call of epydoc in doc/Makefile to avoid FTBFS (Closes: #433738)
    tv42 committed Aug 21, 2008
Commits on Jun 18, 2007
  1. Tell git to ignore generated files.

    tv42 committed Jun 18, 2007
  2. Add back the versioning to cdbs build-dep.

    It was removed without explanation by NMU 0.0.43-0.1, and linda
    complains about not having it.
    tv42 committed Jun 18, 2007
  3. Merge branch 'bug385447-nmu'

    Conflicts:
    
    	debian/changelog
    	debian/control
    tv42 committed Jun 18, 2007
  4. Import NMU 0.0.43-0.4 (never uploadeded) by Pierre Habouzit <madcoder…

    …@debian.org>
    
      * Really update package for the python policy (Closes: #373559, #378586).
      * remove ldaptor-common, merge it into python-ldaptor.
      * Bump Standards-Version to 3.7.2.
      * Add python-pyopenssl to the webui Depends.
      * Urgency set to medium for RC bug fix.
    tv42 committed Jun 18, 2007
  5. Make python-ldaptor Replace: python2.4-ldaptor, too.

    Cleanup after NMU 0.0.43-0.2, imported to git as
    88f67ad.
    Used to have Replaces: python2.3-ldaptor, but a user could as well run
    into an upgrade issue with python2.4-ldaptor.
    Related to https://bugs.launchpad.net/ubuntu/+source/ldaptor/+bug/68518
    tv42 committed Jun 18, 2007
Commits on Jun 17, 2007
  1. Don't claim python-ldaptor to be a dummy package.

    Clean up long description after NMU 0.0.43-0.1.
    Closes: #420771
    tv42 committed Jun 17, 2007