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
---
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-
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
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.
>
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
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
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
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
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
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
10 matches
Mail list logo