|
From: Joe L. <jl...@op...> - 2002-01-04 18:56:08
|
This definitely looks like something specific to Zope and this beta release of said product. You likely want to ask lists specific to Zope. There are n= o traces or exceptions coming from access to the python-ldap modules, and so = I would suggest using a released Zope product (2.4.x) instead of the 2.5 beta series. On 1/4/02 10:46 AM, "Peeyush Garg" <pee...@ka...> wrote: > Hi, >=20 > Let me explain the problem in more detail because I do not have a 'direct= ' > traceback. I have Zope(2.5.0b2) and LDAP(2.0.18) server installed on the > same Linux machine. If I try to access LDAP server from Zope it says > 'connection settings not ok....'. The interesting part is that when I > install LDAPUserFolder on another installation of Zope(2.4.3) on a WinNT(= 4.1 > workstation) machine, it connects beautifully with the same settings. >=20 > Following is a traceback that I get when I try to search for users(withou= t > even being connected, just for the purpose of getting some traceback): >=20 > Traceback (innermost last): > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 151, in > publish_module > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 115, in > publish > File /home/zope/zope250b2/lib/python/Zope/__init__.py, line 158, in > zpublisher_exception_hook > (Object: acl_users) > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 99, in > publish > File /home/zope/zope250b2/lib/python/ZPublisher/mapply.py, line 88, in > mapply > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/ZPublisher/Publish.py, line 40, in > call_object > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, line > 252, in __call__ > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/Shared/DC/Scripts/Bindings.py, line > 283, in _bindAndExec > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/App/special_dtml.py, line 172, in > _exec > (Object: manage_userrecords) > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, line 76, > in render > (Object: cur_vals=3D"getUserDetails(encoded_dn=3Duser_dn, > format=3D'dictionary')") > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_In.py, line 695, > in renderwob > (Object: getLDAPSchema()) > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Let.py, line 75, > in render > (Object: sk=3D"_['sequence-key']" > si=3D"_['sequence-item']" > cur_val=3D"_.string.join( cur_vals.get( sk, '' ) )") > File /home/zope/zope250b2/lib/python/DocumentTemplate/DT_Util.py, line > 159, in eval > (Object: _.string.join( cur_vals.get( sk, '' ) )) > (Info: sk) > File <string>, line 0, in ? > AttributeError: (see above) >=20 >=20 > Installing on WinNT did take me some half a day to make it working (that = was > my first experience with LDAP) but getting to connect from the same Linux > machine has taken me 2 days without much luck. Any help is appreciated. >=20 > Thanks, > Peeyush. > ----- Original Message ----- > From: "Michael Str=F6der" <mi...@st...> > To: "Peeyush Garg" <pee...@ka...> > Cc: <pyt...@li...> > Sent: Friday, January 04, 2002 4:38 AM > Subject: Re: Installation Problem >=20 >=20 >> Peeyush Garg wrote: >>>=20 >>> warning: build_py: file Lib/ldap.py (for module ldap) not found >>=20 >> You can ignore that. >>=20 >>> i could not find ldap.py even in current CVS. >>=20 >> It has been substituted by Lib/ldap/*.py. >>=20 >>> I cannot get to connect to LDAP server. Is this problem because of >>> the above file?? >>=20 >> No. Any traceback you can send us? Note that _ldap.open() does not >> work anymore. Use ldap.open() instead. I've updated the README. >>=20 >> Ciao, Michael. >=20 >=20 > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |