[Zope] [LDAP] Does LDAPUserFolder work with Zope 2.6.0?

Torsten Gipp tgi@uni-koblenz.de
Mon, 25 Nov 2002 22:57:56 +0100 (CET)


Hi Colin,

On Mon, 25 Nov 2002, Colin Sampaleanu wrote:

> Can anybody confirm that LDAPUserFolder (1.6 beta 2) works ok with Zope
> 2.6.0? The docs mention it working with 2.5, but make no mention of 2.6.
> I am having some major issues) described below, which seem to stop me
> from being able to run it at all.

It is working for me (Zope 2.6.0b1 (binary release, python
2.1, linux2-x86), python 2.1.3, linux2).

> I am running RedHat 7.3, openldap-clients-2.0.23-4,
> python-ldap-2.0.0pre06, and am trying to use LDAPUserFolder 1.6 beta 2.
> I have installed pythin-ldap for the copy of python included in my zope
> install, and have verified that I am able to connect to the LDAP server
> (MS Active Directory in this case), so there are no issues at that level
> as far as I can tell.

Can you do that with python as well? Does an 'import ldap'
work when you use the python your Zope runs with?

However, I had to use python-ldap-2.0.0pre03-1.i386.rpm
because I am using python 2.1.3.

> When I try to add an instance of the LDAPUserFolder, pressing the 'add'
> button results in a 'hang', with my browser never coming back. If I am
> browsing the zope mangement tree, and then try to hit the folder with
> the ldapuserfolder also 'hangs'. If I shut down everything, and hit the
> management url again (coming in completely unauthenticated), then I get
> the browser id/password popup, and entering in a name and hitting enter
> will also result in a hang.
>
> I am able to go in via the zope admin/emergency use, and take a look at
> the ldapuserfolder, which seems to be ok, and kill it, etc.
>
> So as far as I can tell, LDAPUserfolder is simply hanging when it goes
> in and tries to do a lookup. There is no exception, and nothing put in
> the log.
>
> Any suggestions would be much appreciated...

If all else fails: perhaps this one helps:

http://www.geocrawler.com/archives/3/1568/2002/6/0/9027164/

Torsten

-- 
Torsten Gipp                     http://www.uni-koblenz.de/~tgi
Universitaet Koblenz-Landau      tgi@                 ___  _, .
Institut fuer Softwaretechnik         uni-koblenz.de   |  | _ |
Postfach 201602 * 56016 Koblenz  2701                  |  !_/ |