Re: STRONG_AUTH_REQUIRED

2007-12-12 Thread Fernando Ribeiro
Hi James, The problem was fixed using ldap.VERSION with ldap.VERSION3: self.conn.set_option(ldap.VERSION, ldap.VERSION3) Thanks Att, -- - - Fernando Ribeiro - +55-61-8438-5806 ---

Re: [ANNOUNCE] python-ad

2007-12-12 Thread David Leonard
Geert Jansen wrote: Michael Ströder wrote: Well, setting an env var is not really a good choice when running within a multi-threaded web application... :-/ yet another reason to avoid threads? :) I was thinking how one could solve the problem of per-thread credentials in python-

Re: [ANNOUNCE] python-ad

2007-12-12 Thread Michael Ströder
David Leonard wrote: > Geert Jansen wrote: >> Michael Ströder wrote: >>> Well, setting an env var is not really a good choice when running within >>> a multi-threaded web application... :-/ > > yet another reason to avoid threads? :) The multi-threaded approach gives me the possibility to use p

Re: STRONG_AUTH_REQUIRED

2007-12-12 Thread Fernando Ribeiro
Hi Michael, On Dec 12, 2007 12:00 PM, Michael Ströder <[EMAIL PROTECTED]> wrote: > > Strange, since ldap.VERSION3 is the default explicitly set when creating > a LDAPObject instance. Unless you formerly set this to ldap.VERSION2 > before in your code it's unlikely that this was the solution. >

Re: STRONG_AUTH_REQUIRED

2007-12-12 Thread Michael Ströder
Fernando Ribeiro wrote: > > The problem was fixed using ldap.VERSION with ldap.VERSION3: > > self.conn.set_option(ldap.VERSION, ldap.VERSION3) Strange, since ldap.VERSION3 is the default explicitly set when creating a LDAPObject instance. Unless you formerly set this to ldap.VERS

undefined symbol: ber_pvt_opt_on

2007-12-12 Thread Robert Escorcio
After installing python-ldap 2.3 on Ubuntu (with openldap 2-3.39), I am getting the following error when importing ldap from a python program ImportError: /usr/lib/python2.4/site-packages/_ldap.so: undefined symbol: ber_pvt_opt_on I have seen reports on the web that this is because I did not li

Re: undefined symbol: ber_pvt_opt_on

2007-12-12 Thread Michael Ströder
Robert Escorcio wrote: > After installing python-ldap 2.3 on Ubuntu (with openldap 2-3.39), I am > getting the following error when importing ldap from a python program > > ImportError: /usr/lib/python2.4/site > -packages/_ldap.so: undefined symbol: ber_pvt_opt_on > > I have seen reports on th

Re: undefined symbol: ber_pvt_opt_on

2007-12-12 Thread Robert Escorcio
Where can I get 2.3.1? Looked for it on ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release but the closest I could find was ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.3.10.tgz Googled for it and only found http://www.google.com/search?source=ig&hl=en&rlz=&q=openlda

Re: undefined symbol: ber_pvt_opt_on

2007-12-12 Thread Michael Ströder
Robert Escorcio wrote: > Where can I get 2.3.1? I meant the source distribution of python-ldap 2.3.1: http://sourceforge.net/project/showfiles.php?group_id=2072 > I'll check 2.3.4 because its the earliest version I can find and 2.3.10 > on the off chance that this is what you meant. I'm not ta

Re: undefined symbol: ber_pvt_opt_on

2007-12-12 Thread Robert Escorcio
2007/12/12 Michael Ströder <[EMAIL PROTECTED]>: > Robert Escorcio wrote: > > Where can I get 2.3.1? > > I meant the source distribution of python-ldap 2.3.1: > > http://sourceforge.net/project/showfiles.php?group_id=2072 > Oh. Sorry. Right. I was using 2.3.1 of python ldap. When I try to impo