From: Rakesh N. <rn...@ze...> - 2002-12-17 09:15:40
|
hello all, I hear that ldapmodule-1.8.tar.gz is not installable on suse linux 7.x since it uses an API which was not standardised(it references a member mod_next in the LDAPMod structure which was present in UM LDAP and = early OpenLDAP) can any one confirm this or comment on this.... i have been trying to get the sys admin of my customer's ...to install = this.....and i get this reply that it is not compatible... Rakesh Naidu. _o _\<_ __(_)/(_) life's a journey not a destination.... |
From: <mi...@st...> - 2002-12-17 09:23:05
|
Rakesh Naidu wrote: > I hear that ldapmodule-1.8.tar.gz is not installable on suse linux 7.x Please go for python-ldap 2.0.0pre06 compiled against OpenLDAP 2.x libs. 1.8 is pretty ancient. Ciao, Michael. |
From: Ganesan R <rga...@my...> - 2002-12-17 10:08:32
|
>>>>> "Michael" =3D=3D Michael Str=F6der <mi...@st...> writes: > Rakesh Naidu wrote: >> I hear that ldapmodule-1.8.tar.gz is not installable on suse linux 7.x > Please go for python-ldap 2.0.0pre06 compiled against OpenLDAP 2.x > libs. 1.8 is pretty ancient. Is OpenLDAP 2.0 supported? I faced some problems compiling python-ldap wi= th it. The problems went away when I used OpenLDAP 2.1. This may be due to = a bug in the local environment, I was playing around with both OpenLDAP 2.0 and 2.1. Ganesan --=20 Ganesan R |
From: <mi...@st...> - 2002-12-17 10:32:33
|
Ganesan R wrote: >>>>>>"Michael" =3D=3D Michael Str=F6der <mi...@st...> writes: >=20 >>Please go for python-ldap 2.0.0pre06 compiled against OpenLDAP 2.x >>libs. 1.8 is pretty ancient. >=20 > Is OpenLDAP 2.0 supported? Not only supported. Since python-ldap 2.x OpenLDAP 2.x is REQUIRED. > I faced some problems compiling python-ldap with > it. Which version of python-ldap? Which version of OpenLDAP? AFAIK you need at least OpenLDAP 2.0.13 when=20 building with TLS support. Ciao, Michael. |
From: Ganesan R <rga...@my...> - 2002-12-17 11:04:11
|
>>>>> "Michael" =3D=3D Michael Str=F6der <mi...@st...> writes: > Ganesan R wrote: >> Is OpenLDAP 2.0 supported? > Not only supported. Since python-ldap 2.x OpenLDAP 2.x is REQUIRED. >> I faced some problems compiling python-ldap with >> it. > Which version of python-ldap? pre6. > Which version of OpenLDAP? AFAIK you need at least OpenLDAP 2.0.13 > when building with TLS support. OpenLDAP 2.0.25. The verified that the problem is still present with with the "full-featured" build. I checked the mailing list and found the reaso= n for my problem - "full-featured" build uses ldap_r which appears to be broken with OpenLDAP 2.0.* versions (at least till 2.0.25).=20 By the way, I had a funny experience dealing with this problem. The error message said cannot find symbol ldap_first_reference. For some reason, I assumed that python is complaining about not able to resolve the first reference in the LDAP library and went about debugging with ldd :-) :-). Finally, I realized that it's the name of an actual symbol! By the way, I am extremely pleased with python-ldap. I have always been reluctant to code to the C API and even when I started using python, I us= ed initially the external tools like ldapsearch and ldapmodify. Then I found python-ldap. It has really made LDAP programming a breeze. Thanks a lot! Ganesan --=20 Ganesan R |
From: Ganesan R <rga...@my...> - 2002-12-17 11:19:28
|
Hi, 2.0.0pre6. First, the binary rpm depends on python-devel and openldap-devel which are not needed. python-devel and openldap-devel should be in BuildRequires, not in Requires or Prereq lines of the spec file. Second, I need SSL support which doesn't seem to be enabled by default. Is it possible to turn on SSL support by default? Thanks. Ganesan -- Ganesan R |
From: <mi...@st...> - 2002-12-17 11:35:55
|
Ganesan R wrote: > > 2.0.0pre6. First, the binary rpm depends on python-devel and openldap-devel > which are not needed. python-devel and openldap-devel should be in > BuildRequires, not in Requires or Prereq lines of the spec file. Note that you have to contact the package maintainer if you think something's wrong with dependencies of a particular package. > Second, I need SSL support which doesn't seem to be enabled by default. Is > it possible to turn on SSL support by default? What do you mean with "by default"? If you build python-ldap yourself you can tweak setup.cfg to reflect your needs and configuration. Note that OpenLDAP also has to be built and installed with option --with-tls before. When shipping python-ldap one cannot foresee your particular system configuration. Ciao, Michael. |
From: Ganesan R <rga...@my...> - 2002-12-17 11:49:42
|
>>>>> "Michael" =3D=3D Michael Str=F6der <mi...@st...> writes: > Ganesan R wrote: >> 2.0.0pre6. First, the binary rpm depends on python-devel and >> openldap-devel which are not needed. python-devel and openldap-devel >> should be in BuildRequires, not in Requires or Prereq lines of the spe= c >> file.=20 > Note that you have to contact the package maintainer if you think > something's wrong with dependencies of a particular package. Noted :-). I assumed that the maintainer will be reading the list. I remember seeing his mails in the archive. >> Second, I need SSL support which doesn't seem to be enabled by >> default. Is it possible to turn on SSL support by default? > What do you mean with "by default"? > If you build python-ldap yourself you can tweak setup.cfg to reflect > your needs and configuration. Note that OpenLDAP also has to be built > and installed with option --with-tls before. When shipping python-ldap > one cannot foresee your particular system configuration. I didn't mean python-ldap distribution to turn on SSL by default. Redhat = 7.3 OpenLDAP libraries ship with SSL option compiled in. So it makes sense fo= r the RPM to be built with the option turned on. Again, this is an issue fo= r the package maintainer. --=20 Ganesan R |
From: Joe L. <jl...@op...> - 2002-12-17 15:54:13
|
The maintainer (perhaps me) does read this list, but generally sleeps=20 at the hours being discussed :) A classify python-ldap as Group: Development/Library so I have it=20 depend on openldap-devel and other -devel level packages. Among other=20 things, it builds against dynamic libraries would I just saw are=20 present in both the openldap base and openldap-devel packages. Either=20 way, you can convince me that these should simply be build prereqs. I=20 assume that you'd want to have all the .h files (and openldap drafts)=20 around for reference when building ldap tools with python since at=20 times the python documentation is not complete. You are right that=20 python-devel is probably not needed anymore. On Tuesday, December 17, 2002, at 03:51 AM, Ganesan R wrote: >>>>>> "Michael" =3D=3D Michael Str=F6der <mi...@st...> writes: > >> Ganesan R wrote: >>> 2.0.0pre6. First, the binary rpm depends on python-devel and >>> openldap-devel which are not needed. python-devel and openldap-devel >>> should be in BuildRequires, not in Requires or Prereq lines of the=20= >>> spec >>> file. > >> Note that you have to contact the package maintainer if you think >> something's wrong with dependencies of a particular package. > > Noted :-). I assumed that the maintainer will be reading the list. I > remember seeing his mails in the archive. > >>> Second, I need SSL support which doesn't seem to be enabled by >>> default. Is it possible to turn on SSL support by default? > >> What do you mean with "by default"? > >> If you build python-ldap yourself you can tweak setup.cfg to reflect >> your needs and configuration. Note that OpenLDAP also has to be built >> and installed with option --with-tls before. When shipping = python-ldap >> one cannot foresee your particular system configuration. > > I didn't mean python-ldap distribution to turn on SSL by default.=20 > Redhat 7.3 > OpenLDAP libraries ship with SSL option compiled in. So it makes sense=20= > for > the RPM to be built with the option turned on. Again, this is an issue=20= > for > the package maintainer. > > --=20 > Ganesan R > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Joe L. <jl...@op...> - 2002-12-17 16:18:14
|
corrections in my english below (just woke up) On Tuesday, December 17, 2002, at 07:54 AM, Joe Little wrote: > The maintainer (perhaps me) does read this list, but generally sleeps=20= > at the hours being discussed :) > > I classify python-ldap as Group: Development/Library so I have it=20 > depend on openldap-devel and other -devel level packages. Among other=20= > things, it builds against dynamic libraries which I just saw are=20 > present in both the openldap base and openldap-devel packages. Either=20= > way, you can convince me that these should simply be build prereqs. I=20= > assume that you'd want to have all the .h files (and openldap drafts)=20= > around for reference when building ldap tools with python since at=20 > times the python documentation is not complete. You are right that=20 > python-devel is probably not needed anymore. > > On Tuesday, December 17, 2002, at 03:51 AM, Ganesan R wrote: > >>>>>>> "Michael" =3D=3D Michael Str=F6der <mi...@st...> = writes: >> >>> Ganesan R wrote: >>>> 2.0.0pre6. First, the binary rpm depends on python-devel and >>>> openldap-devel which are not needed. python-devel and = openldap-devel >>>> should be in BuildRequires, not in Requires or Prereq lines of the=20= >>>> spec >>>> file. >> >>> Note that you have to contact the package maintainer if you think >>> something's wrong with dependencies of a particular package. >> >> Noted :-). I assumed that the maintainer will be reading the list. I >> remember seeing his mails in the archive. >> >>>> Second, I need SSL support which doesn't seem to be enabled by >>>> default. Is it possible to turn on SSL support by default? >> >>> What do you mean with "by default"? >> >>> If you build python-ldap yourself you can tweak setup.cfg to reflect >>> your needs and configuration. Note that OpenLDAP also has to be = built >>> and installed with option --with-tls before. When shipping=20 >>> python-ldap >>> one cannot foresee your particular system configuration. >> >> I didn't mean python-ldap distribution to turn on SSL by default.=20 >> Redhat 7.3 >> OpenLDAP libraries ship with SSL option compiled in. So it makes=20 >> sense for >> the RPM to be built with the option turned on. Again, this is an=20 >> issue for >> the package maintainer. >> >> --=20 >> Ganesan R >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: >> With Great Power, Comes Great Responsibility >> Learn to use your power at OSDN's High Performance Computing Channel >> http://hpc.devchannel.org/ >> _______________________________________________ >> Python-LDAP-dev mailing list >> Pyt...@li... >> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility Learn to use your power=20= > at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Ganesan R <rga...@my...> - 2002-12-18 04:03:48
|
>>>>> "Joe" == Joe Little <jl...@op...> writes: > The maintainer (perhaps me) does read this list, but generally > sleeps at the hours being discussed :) That's a problem we'll have to live with I guess :-). > I classify python-ldap as Group: Development/Library so I have it depend > on openldap-devel and other -devel level packages. Among other things, it > builds against dynamic libraries which I just saw are present in both the > openldap base and openldap-devel packages. Either way, you can convince > me that these should simply be build prereqs. I guess you need convincing only on the openldap-devel package :-). Let me try. For C libraries a "library" package (the openldap package in this case) and a "devel" package make sense. The devel package usually contains the needed headers and archive libraries in case applications need to link statically. End users, i.e. users who use applications linked to OpenLDAP do not need to install -devel packages. For python (and java), the distinction does not exist. As a developer, I obviously will install openldap-devel for looking at the documentation or for developing C applications. However, the end user installing my python-ldap application should not need to install openldap-devel. Thank you very much for packaging python-ldap rpm. I am a Debian developer but use Redhat at work. Your work saved me a lot of time :-). Ganesan -- Ganesan R |
From: Joe L. <jl...@op...> - 2002-12-18 05:16:43
|
Ok.. though I think having the c headers/docs around is a good thing for python-ldap developers, I have relaxed the dependencies and made a better distinction between dependencies and prereqs (the latter provides ordering, required for python site-packages) You'll find new python-ldap RPM/SRPMS for RedHat 7.3 and 8.0 on ftp.open-it.org Enjoy. On Tuesday, December 17, 2002, at 08:05 PM, Ganesan R wrote: >>>>>> "Joe" == Joe Little <jl...@op...> writes: > >> The maintainer (perhaps me) does read this list, but generally >> sleeps at the hours being discussed :) > > That's a problem we'll have to live with I guess :-). > >> I classify python-ldap as Group: Development/Library so I have it >> depend >> on openldap-devel and other -devel level packages. Among other >> things, it >> builds against dynamic libraries which I just saw are present in both >> the >> openldap base and openldap-devel packages. Either way, you can >> convince >> me that these should simply be build prereqs. > > I guess you need convincing only on the openldap-devel package :-). > Let me > try. For C libraries a "library" package (the openldap package in this > case) > and a "devel" package make sense. The devel package usually contains > the > needed headers and archive libraries in case applications need to link > statically. End users, i.e. users who use applications linked to > OpenLDAP do > not need to install -devel packages. > > For python (and java), the distinction does not exist. As a > developer, I > obviously will install openldap-devel for looking at the documentation > or > for developing C applications. However, the end user installing my > python-ldap application should not need to install openldap-devel. > > Thank you very much for packaging python-ldap rpm. I am a Debian > developer > but use Redhat at work. Your work saved me a lot of time :-). > > Ganesan > > -- > Ganesan R > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Rakesh N. <rn...@ze...> - 2002-12-17 11:11:17
|
michael...can u throw some light on this error..... 2002-12-17T10:50:45 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /home/zeo/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 531, in import_product File /home/zeo/zope/lib/python/Products/LDAPUserFolder/__init__.py, line 13, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 34, in ? File /home/zeo/zope/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 19, in ? (Object: aq_inner) File /home/zeo/zope/lib/python/Products/LDAPUserFolder/utils.py, line 32, in ? ImportError: No module named ldap as of now python-ldap 2.0.0pre05 / OpenLDAP 2.0.12 /on SuSe Linux (on client machine)..... your suggestions are welcome.....please confirm if upgradation to OpenLDAP 2.0.13 is a must taking in to consideration the above conf. thanks, Rakesh Naidu. ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Ganesan R" <rga...@my...> Cc: "python-ldap" <pyt...@li...> Sent: Tuesday, December 17, 2002 4:02 PM Subject: Re: error installing ldapmodule1.8 Ganesan R wrote: >>>>>>"Michael" == Michael Ströder <mi...@st...> writes: > >>Please go for python-ldap 2.0.0pre06 compiled against OpenLDAP 2.x >>libs. 1.8 is pretty ancient. > > Is OpenLDAP 2.0 supported? Not only supported. Since python-ldap 2.x OpenLDAP 2.x is REQUIRED. > I faced some problems compiling python-ldap with > it. Which version of python-ldap? Which version of OpenLDAP? AFAIK you need at least OpenLDAP 2.0.13 when building with TLS support. Ciao, Michael. ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Python-LDAP-dev mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: <mi...@st...> - 2002-12-17 11:23:09
|
Rakesh Naidu wrote: > michael...can u throw some light on this error..... > > 2002-12-17T10:50:45 ERROR(200) Zope Could not import Products.LDAPUserFolder > Traceback (innermost last): > [..] > ImportError: No module named ldap This was recently discussed here. I've attached a posting by Jens before he has to repeat it. Furthermore you can search the mailing list archive for 'Zope'. Ciao, Michael -------- Original Message -------- Subject: Re: Problems importing ldap in Zope Date: Fri, 29 Nov 2002 20:12:57 -0500 From: Jens Vagelpohl <je...@zo...> To: Jorge Loureiro Dias <lou...@dt...> CC: pyt...@li... this problem has nothing to do with zope. the ldap module zope is trying to import is messed up. the one zope is trying to import is most likely not the same one that gets imported if you run python itself from the command line. you need to locate the exact python binary zope uses and rebuild the python-ldap module with that binary. jens |
From: Jens V. <je...@zo...> - 2002-12-17 13:29:55
|
well thank you michael ;) On Tuesday, Dec 17, 2002, at 06:22 US/Eastern, Michael Str=F6der wrote: > Rakesh Naidu wrote: >> michael...can u throw some light on this error..... >> 2002-12-17T10:50:45 ERROR(200) Zope Could not import=20 >> Products.LDAPUserFolder >> Traceback (innermost last): >> [..] >> ImportError: No module named ldap > > This was recently discussed here. I've attached a posting by Jens=20 > before he has to repeat it. > > Furthermore you can search the mailing list archive for 'Zope'. > > Ciao, Michael > > -------- Original Message -------- > Subject: Re: Problems importing ldap in Zope > Date: Fri, 29 Nov 2002 20:12:57 -0500 > From: Jens Vagelpohl <je...@zo...> > To: Jorge Loureiro Dias <lou...@dt...> > CC: pyt...@li... > > this problem has nothing to do with zope. the ldap module zope is > trying to import is messed up. the one zope is trying to import is = most > likely not the same one that gets imported if you run python itself > from the command line. > > you need to locate the exact python binary zope uses and rebuild the > python-ldap module with that binary. > > jens > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility Learn to use your power=20= > at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Rakesh N. <rn...@ze...> - 2003-02-18 09:21:09
|
hello jens, i was able to import the ldap client(LDAPUserFolder) in to zope managament iinterface...and now i have set the server name etc to the proper values.... now, the user that owns zope needs to be authernticated with ldap to the required directory....how to bind the user to the particular directory...so that authentication happens from zope, using the client ldapuserfolder..... please let me know if you need any more details in specific.... regards, rakesh.... ----- Original Message ----- From: "Jens Vagelpohl" <je...@zo...> To: "python-ldap" <pyt...@li...> Sent: Tuesday, December 17, 2002 6:59 PM Subject: Re: error installing ldapmodule1.8 well thank you michael ;) On Tuesday, Dec 17, 2002, at 06:22 US/Eastern, Michael Ströder wrote: > Rakesh Naidu wrote: >> michael...can u throw some light on this error..... >> 2002-12-17T10:50:45 ERROR(200) Zope Could not import >> Products.LDAPUserFolder >> Traceback (innermost last): >> [..] >> ImportError: No module named ldap > > This was recently discussed here. I've attached a posting by Jens > before he has to repeat it. > > Furthermore you can search the mailing list archive for 'Zope'. > > Ciao, Michael > > -------- Original Message -------- > Subject: Re: Problems importing ldap in Zope > Date: Fri, 29 Nov 2002 20:12:57 -0500 > From: Jens Vagelpohl <je...@zo...> > To: Jorge Loureiro Dias <lou...@dt...> > CC: pyt...@li... > > this problem has nothing to do with zope. the ldap module zope is > trying to import is messed up. the one zope is trying to import is most > likely not the same one that gets imported if you run python itself > from the command line. > > you need to locate the exact python binary zope uses and rebuild the > python-ldap module with that binary. > > jens > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility Learn to use your power > at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Python-LDAP-dev mailing list Pyt...@li... https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |
From: Jens V. <je...@zo...> - 2003-02-18 18:12:15
|
what you are saying does not make any sense to me. if you instantiate a LDAPUserFolder then it will be used for=20 authentication purposes in that place of your directory structure and=20 "downward". this is not the right mailing list to discuss zope issues. this mailing=20= list is for the python-ldap module only. jens On Tuesday, Feb 18, 2003, at 04:26 US/Eastern, Rakesh Naidu wrote: > hello jens, > i was able to import the ldap client(LDAPUserFolder) in to zope=20 > managament > iinterface...and now i have set the server name etc to the proper=20 > values.... > now, the user that owns zope needs to be authernticated with ldap to=20= > the > required directory....how to bind the user to the particular=20 > directory...so > that authentication happens from zope, using the client=20 > ldapuserfolder..... > > please let me know if you need any more details in specific.... > > regards, > rakesh.... > > > ----- Original Message ----- > From: "Jens Vagelpohl" <je...@zo...> > To: "python-ldap" <pyt...@li...> > Sent: Tuesday, December 17, 2002 6:59 PM > Subject: Re: error installing ldapmodule1.8 > > > well thank you michael ;) > > > On Tuesday, Dec 17, 2002, at 06:22 US/Eastern, Michael Str=F6der = wrote: > >> Rakesh Naidu wrote: >>> michael...can u throw some light on this error..... >>> 2002-12-17T10:50:45 ERROR(200) Zope Could not import >>> Products.LDAPUserFolder >>> Traceback (innermost last): >>> [..] >>> ImportError: No module named ldap >> >> This was recently discussed here. I've attached a posting by Jens >> before he has to repeat it. >> >> Furthermore you can search the mailing list archive for 'Zope'. >> >> Ciao, Michael >> >> -------- Original Message -------- >> Subject: Re: Problems importing ldap in Zope >> Date: Fri, 29 Nov 2002 20:12:57 -0500 >> From: Jens Vagelpohl <je...@zo...> >> To: Jorge Loureiro Dias <lou...@dt...> >> CC: pyt...@li... >> >> this problem has nothing to do with zope. the ldap module zope is >> trying to import is messed up. the one zope is trying to import is=20 >> most >> likely not the same one that gets imported if you run python itself >> from the command line. >> >> you need to locate the exact python binary zope uses and rebuild the >> python-ldap module with that binary. >> >> jens >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: >> With Great Power, Comes Great Responsibility Learn to use your power >> at OSDN's High Performance Computing Channel >> http://hpc.devchannel.org/ >> _______________________________________________ >> Python-LDAP-dev mailing list >> Pyt...@li... >> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > > |
From: Rakesh N. <rn...@ze...> - 2002-12-20 12:51:06
|
hi micheal, i am getting this error now... do you know why this is... ImportError: /home/zeo/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so: undefined symbol: ldap_ufn_setfilter regards, Rakesh. ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Rakesh Naidu" <rn...@ze...> Cc: "python-ldap" <pyt...@li...> Sent: Tuesday, December 17, 2002 4:52 PM Subject: Re: error installing ldapmodule1.8 > Rakesh Naidu wrote: > > michael...can u throw some light on this error..... > > > > 2002-12-17T10:50:45 ERROR(200) Zope Could not import Products.LDAPUserFolder > > Traceback (innermost last): > > [..] > > ImportError: No module named ldap > > This was recently discussed here. I've attached a posting by Jens before he > has to repeat it. > > Furthermore you can search the mailing list archive for 'Zope'. > > Ciao, Michael > > -------- Original Message -------- > Subject: Re: Problems importing ldap in Zope > Date: Fri, 29 Nov 2002 20:12:57 -0500 > From: Jens Vagelpohl <je...@zo...> > To: Jorge Loureiro Dias <lou...@dt...> > CC: pyt...@li... > > this problem has nothing to do with zope. the ldap module zope is > trying to import is messed up. the one zope is trying to import is most > likely not the same one that gets imported if you run python itself > from the command line. > > you need to locate the exact python binary zope uses and rebuild the > python-ldap module with that binary. > > jens > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
From: <mi...@st...> - 2002-12-20 15:37:55
|
Rakesh Naidu wrote: > ImportError: > /home/zeo/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so: undefined > symbol: ldap_ufn_setfilter Which version of python-ldap are you using and which LDAP lib? The filename _ldapmodule.so looks like 1.x but the UFN-related functions/methods were removed in 2.x. Ciao, Michael. |
From: Rakesh N. <rn...@ze...> - 2002-12-20 16:28:15
|
python-ldap 2.0.0pre05 and libldap.so.2 ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Rakesh Naidu" <rn...@ze...> Cc: "Python Developer List" <pyt...@li...> Sent: Friday, December 20, 2002 9:07 PM Subject: Re: ldap_ufn_setfilter > Rakesh Naidu wrote: > > ImportError: > > /home/zeo/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so: undefined > > symbol: ldap_ufn_setfilter > > Which version of python-ldap are you using and which LDAP lib? > > The filename _ldapmodule.so looks like 1.x but the UFN-related > functions/methods were removed in 2.x. > > Ciao, Michael. > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: The Best Geek Holiday Gifts! > Time is running out! Thinkgeek.com has the coolest gifts for > your favorite geek. Let your fingers do the typing. Visit Now. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
From: <mi...@st...> - 2002-12-20 16:32:05
|
Rakesh Naidu wrote: > python-ldap 2.0.0pre05 and libldap.so.2 Really strange. I don't believe the _ldapmodule.so is compiled from python-ldap 2.0.0pre05 sources. Is there a library mixture? Maybe an old python-ldap 1.x installation? What does $ ldd home/zeo/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so say? Is there also a file called _ldap.so? Ciao, Michael. |
From: Rakesh N. <rn...@ze...> - 2002-12-20 16:38:55
|
libldap.so.2 => /usr/lib/libldap.so.2 (0x40020000) liblber.so.2 => /usr/lib/liblber.so.2 (0x40049000) libm.so.6 => /lib/libm.so.6 (0x40053000) libc.so.6 => /lib/libc.so.6 (0x40075000) libnsl.so.1 => /lib/libnsl.so.1 (0x4019b000) libresolv.so.2 => /lib/libresolv.so.2 (0x401b2000) libdl.so.2 => /lib/libdl.so.2 (0x401c4000) libsasl.so.7 => /usr/lib/libsasl.so.7 (0x401c8000) libssl.so.0.9.6 => /usr/lib/libssl.so.0.9.6 (0x401d3000) libcrypto.so.0.9.6 => /usr/lib/libcrypto.so.0.9.6 (0x40200000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) libdb-3.1.so => /usr/lib/libdb-3.1.so (0x402c9000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40346000) libpam.so.0 => /lib/libpam.so.0 (0x40374000) ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Rakesh Naidu" <rn...@ze...> Cc: "Python Developer List" <pyt...@li...> Sent: Friday, December 20, 2002 10:01 PM Subject: Re: ldap_ufn_setfilter > Rakesh Naidu wrote: > > python-ldap 2.0.0pre05 and libldap.so.2 > > Really strange. I don't believe the _ldapmodule.so is compiled from > python-ldap 2.0.0pre05 sources. > > Is there a library mixture? Maybe an old python-ldap 1.x installation? What does > > $ ldd home/zeo/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so > > say? > > Is there also a file called _ldap.so? > > Ciao, Michael. > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: The Best Geek Holiday Gifts! > Time is running out! Thinkgeek.com has the coolest gifts for > your favorite geek. Let your fingers do the typing. Visit Now. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
From: <mi...@st...> - 2002-12-20 16:50:44
|
Michael Str=F6der wrote: > Rakesh Naidu wrote: >=20 >> python-ldap 2.0.0pre05 and libldap.so.2 >=20 > Really strange. I digged into the mailing list archive and it seems that this problem was= =20 solved quite a while ago. Please go for python-ldap 2.0.0pre06. Ciao, Michael. |
From: Rakesh N. <rn...@ze...> - 2002-12-21 08:28:22
|
well this was solved when i copied the /zope/lib/python2.1/site-packages folder with the /usr/lib/python2.1/site-packages which basically has the ldapmodule which is written when pythin-ldap is compiled..... thanks, michael.. ----- Original Message ----- From: "Michael Ströder" <mi...@st...> To: "Rakesh Naidu" <rn...@ze...> Cc: "Python Developer List" <pyt...@li...> Sent: Friday, December 20, 2002 9:07 PM Subject: Re: ldap_ufn_setfilter > Rakesh Naidu wrote: > > ImportError: > > /home/zeo/zope/lib/python/Products/LDAPUserFolder/_ldapmodule.so: undefined > > symbol: ldap_ufn_setfilter > > Which version of python-ldap are you using and which LDAP lib? > > The filename _ldapmodule.so looks like 1.x but the UFN-related > functions/methods were removed in 2.x. > > Ciao, Michael. > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: The Best Geek Holiday Gifts! > Time is running out! Thinkgeek.com has the coolest gifts for > your favorite geek. Let your fingers do the typing. Visit Now. > T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev > |
From: <mi...@st...> - 2002-12-17 11:54:31
|
Rakesh Naidu wrote: > > please confirm if upgradation to OpenLDAP > 2.0.13 is a must taking in to consideration the above conf. I'd even recommend that you SHOULD use the latest and greatest of the OpenLDAP libs since the OpenLDAP project applied numerous bug fixes to the client libs since 2.0.13. Ciao, Michael. |