[Zope] ZLDAPconn problems

Keith Rohrer KRohrer@hnv.com
Mon, 3 May 1999 16:41:50 -0500


I've added ldapmodule to my Python installation, and moved ZLDAPconn and
ZLDAPMethods to Zope's lib/python/Products directory.  Trying to add a
ZLDAPconn to a folder, I get either a complaint about openc not being set in
the request, or the following error:

<html>
<head>
<title>exceptions.AttributeError</title>
</head>
<body>
Sorry, an error occurred.<p>
<!--
Traceback (innermost last):
  File /raid5/home/kwr/Zope/lib/python/ZPublisher/Publish.py, line 877, in
publish_module
  File /raid5/home/kwr/Zope/lib/python/ZPublisher/Publish.py, line 590, in
publish
    (Info: /dbtest/manage_addZLDAPconn)
  File /raid5/home/kwr/Zope/lib/python/Products/ZLDAPconn/ZLDAP.py, line
192, in addConn
    (Object: Navigation)
  File /raid5/home/kwr/Zope/lib/python/Products/ZLDAPconn/ZLDAP.py, line 66,
in __init__
    (Object: RoleManager)
AttributeError: openc

-->
</body>
</html>

My python is fairly poor at this point, so I'm not sure how to fix this.
The version of ZLDAPconn is 0.1 (14-Mar-99), and ZLDAPMethods-0.1 of that
same date.  Python is 1.5.1, and Zope is 1.10.2 from source; this is all
running under Solaris 2.6, and seemed to compile just fine (as did the
ZOracleDB package, eventually).  If the zip files have newer stuff, please
let me know.  Otherwise, any other advice would be appreciated.

	Keith