Re: python-ldap hanging for 15 minutes under certain conditions

2011-02-08 Thread Michael Wood
Hi On 7 February 2011 19:29, Rich Megginson wrote: > On 02/05/2011 01:42 PM, Michael Wood wrote: >> >> Hi >> >> On 4 February 2011 17:35, Rich Megginson  wrote: >>> >>> On 02/03/2011 11:59 PM, Michael Wood wrote: >>>>

Re: python-ldap hanging for 15 minutes under certain conditions

2011-02-05 Thread Michael Wood
Hi On 4 February 2011 17:35, Rich Megginson wrote: > On 02/03/2011 11:59 PM, Michael Wood wrote: >> >> On 4 February 2011 08:32, James Andrewartha  wrote: [...] >>> Debian uses GnuTLS because OpenSSL has the non-GPL compatible >>> advertising clause, an

Re: python-ldap hanging for 15 minutes under certain conditions

2011-02-03 Thread Michael Wood
On 4 February 2011 08:32, James Andrewartha wrote: > On 04/02/11 03:31, Michael Ströder wrote: >> Michael Wood wrote: >>> On 3 February 2011 18:16, Rich Megginson wrote: >>>> On 02/03/2011 04:34 AM, Michael Wood wrote: >>>>> e.g. Ubuntu Lucid Lynx wi

Re: python-ldap hanging for 15 minutes under certain conditions

2011-02-03 Thread Michael Wood
Hi 2011/2/3 Michael Ströder : > Michael Wood wrote: >> On 3 February 2011 18:16, Rich Megginson wrote: >>> On 02/03/2011 04:34 AM, Michael Wood wrote: >>>> e.g. Ubuntu Lucid Lynx with libldap2-dev version 2.4.21-0ubuntu5.3 and >>>> python-ldap 2.3.10

Re: python-ldap hanging for 15 minutes under certain conditions

2011-02-03 Thread Michael Wood
Hi On 3 February 2011 18:16, Rich Megginson wrote: > On 02/03/2011 04:34 AM, Michael Wood wrote: >> Hi >> >> I'm trying to do a search against Samba 4's LDAP server and it works, >> but the bind and search are both successful, everything hangs when I >&

python-ldap hanging for 15 minutes under certain conditions

2011-02-03 Thread Michael Wood
logging.debug("User '%s' is not in the Some Group group", username) conn.unbind() return False logging.debug("User '%s' appears to be in the Some Group group", username) conn.unbind() # <- hangs here for 15 minutes. logging