[Zope] problem with python-ldap and ZLDAP in scripts
dieter at handshake.de
Sun Oct 19 14:01:16 EDT 2003
Adam Szpakowski wrote at 2003-10-19 14:20 +0200:
> def ldap_connection():
> import ldap
> l1 = ldap.initialize('ldap://ldapserver')
> out = 1
> out = -1
> return out
> Executing simple_bind hangs the Zope process. I supposed that there is a
> problem with Zope security.
This is highly unlikely.
Security issues do not lead to a hanging process.
Are you sure that the LDAP server is accessible as "ldapserver".
What you describe looks like what we saw with a bad configuration
to access the LDAP server.
> Is there any way to use python-ldap under zope?
We use it successfully together with LDAPUserFolder.
More information about the Zope