Hey Mark I just wanted to thank you for all your help, and give you a
progress update on the situation. I downloaded an attempted to compile
python-ldap using Ubuntu's OpenLDAP development libs and had no luck.
I then proceeded to download OpenLDAP and compiled it from source. I
was then able
I'm trying to write to implement LDAPMemberships v3 using Mailman
v2.1.9, but I keep getting an error in the Mailman error log that says
ImportError: No module named ldap.
For the record, I can import 'ldap' (aka python-ldap) from a regular
python script (from the command line).
I know Mailman
I'm trying to write to implement LDAPMemberships v3 using Mailman
v2.1.9, but I keep getting an error in the Mailman error log that says
ImportError: No module named ldap.
For the record, I can import 'ldap' (aka python-ldap) from a regular
python script (from the command line).
I know Mailman
Mike Rosile wrote:
I'm trying to write to implement LDAPMemberships v3 using Mailman
v2.1.9, but I keep getting an error in the Mailman error log that says
ImportError: No module named ldap.
For the record, I can import 'ldap' (aka python-ldap) from a regular
python script (from the command
Mike Rosile wrote:
Mark Sapiro wrote:
I'm guessing that the command line python invocation finds the ldap
module because its path is in the PYTHONPATH environment variable.
This doesn't work with the Mailman CGI wrapper because the wrapper
resets PYTHONPATH to contain only the path to the
Hey Mark, thanks for reply and insight! Please note my
comments/questions below:
Mark Sapiro wrote:
I'm guessing that the command line python invocation finds the ldap
module because its path is in the PYTHONPATH environment variable.
This doesn't work with the Mailman CGI wrapper because
Mike Rosile wrote:
Yes, python-ldap was also installed as an Ubuntu package.
I do have python2.4 and python2.5 Ubuntu packages installed, however as
far as I can tell *everything* points to python2.4.
The python-ldap module exists in:
/usr/lib/python-support/python-ldap/python2.4
and is named
This is going to sound really dumb. and is. Just started using mailman.
Have quite a few large lists all moderated by different people
(academics at university so limited user ability) Basically i want to
create a generic setup and have all new lists have this setup. Or if
possible a few basic
Mark Sapiro wrote:
Mike Rosile wrote:
Mark Sapiro wrote:
I'm guessing that the command line python invocation finds the ldap
module because its path is in the PYTHONPATH environment variable.
This doesn't work with the Mailman CGI wrapper because the wrapper
resets PYTHONPATH to