Bug 38423 - web2ldap does not work with the version of py-ldap2 in ports
Summary: web2ldap does not work with the version of py-ldap2 in ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-22 16:40 UTC by Julian Dunn
Modified: 2002-05-23 12:09 UTC (History)
0 users

See Also:


Attachments
file.diff (960 bytes, patch)
2002-05-22 16:40 UTC, Julian Dunn
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Dunn 2002-05-22 16:40:01 UTC
	The version of web2ldap in ports/www/web2ldap is incompatible with the
	revision of the python ldap bindings in ports (in net/py-ldap2)
	because some of the function interfaces have changed.

Fix: Upgrade the py-ldap2 port to the latest released revision as in this patch:
How-To-Repeat: 	Install web2ldap in fastCGI mode. The following errors occur:

[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr: Traceback (most recent call last):
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr:
   File "/usr/local/web2ldap/pylib/w2lapp/handler.py", line 406, in HandleHTTPRequest
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr:
     ls.open(host,startTLS=0)
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr:
   File "/usr/local/web2ldap/pylib/ldapsession.py", line 200, in open
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr:
     self.l = self._retryConnect(
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr:
   File "/usr/local/web2ldap/pylib/ldapsession.py", line 93, in _retryConnect
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/loc
al/web2ldap/fcgi/web2ldap.py" stderr:     l = ldap.open(host,port,trace_level,trace_file)
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: server "/usr/local/web2ldap/fcgi/web2ldap.py" stderr:
 TypeError: too many arguments; expected 3, got 4
[Wed May 22 10:35:53 2002] [error] [client 10.10.10.7] FastCGI: incomplete headers (0 bytes) received from server "/u
sr/local/web2ldap/fcgi/web2ldap.py"
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-05-22 19:12:21 UTC
Responsible Changed
From-To: freebsd-ports->dinoex

over to maintainer
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2002-05-23 12:09:04 UTC
State Changed
From-To: open->closed

Committed with some changes, Thanks.