List Info

Thread: Re: Re: LDAPMultiPlugins




Re: Re: LDAPMultiPlugins
country flaguser name
New Zealand
2007-03-21 21:45:26
I've tried to install LDAPUserFolder 2.7 (from http://www.dataflake.org/software/ldapuserfolder/ldapuserfolder_2.7) and and LDAPMultiPlugins 1.4. (from plone.org, with patches).
They won't compile/install properly, so I tried LDAPUserFolder on it's own (because I see looking into the __init__.py of LDAPMultiPlugins that it is a prerequisite) and get the following error:

2007-03-22T14:39:57 ERROR Zope Could not import Products.LDAPUserFolder
Traceback (most recent call last):
File "/opt/Plone-2.5/lib/python/OFS/Application.py", line 708, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/opt/Plone-2.5/zeocluster/client1/Products/LDAPUserFolder/__init__.py", line 15, in ?
from LDAPUserFolder import manage_addLDAPUserFolder, LDAPUserFolder
File "/opt/Plone-2.5/zeocluster/client1/Products/LDAPUserFolder/LDAPUserFolder.py", line 31, in ?
from LDAPDelegate import filter_format
File "/opt/Plone-2.5/zeocluster/client1/Products/LDAPUserFolder/LDAPDelegate.py", line 12, in ?
import ldap
ImportError: No module named ldap
Does anyone have a clue what I am missing here?


----- Original Message ----
From: Maurits van Rees <m.van.reeszestsoftware.nl>
To: setuplists.plone.org
Sent: Wednesday, 21 March, 2007 10:06:31 PM
Subject: [Setup] Re: LDAPMultiPlugins

Moserr, on 2007-03-20:
> I have configured my Plone to authentificated against Against Active
> Directory and Active Directory Application Mode. I used the following
> products:
>
> LDAPUserFolder 2.7 and LDAPMultiPlugins 1.4.

And what is your Plone version?&nbsp; 2.5?

> All seems to be OK. In the ZMI, I can search, add, delete and update LDAP
> users and LDAP groups.

Okay, the base is good then.

>; But when I go in the Plone interface, where we can admisnistrate users and
> groups, I always have to search my LDAP users and my LDAP groups. Why I
> can't have directly the list of all my LDAP users and my LDAP groups?

I am not sure what you mean here. ; Do you mean that when you click on
Show All Users nothing is shown?&nbsp; Or probably: that this button is not
even displayed?  ;The display of that button is governed by this
setting:

ZMI > portal_properties > site_properties > many_users

If you have many users (say, a few hundred) then it just costs too
much time to display them all.

> Another Problem... Still in the Plone interface, I can't put a LDAP user in
> a LDAP group. I always have a "keyerror" message. Do you know why

Which KeyError is that?

Probably you need to change some settings in

ZMI > acl_users > plugins


The de facto standard documentation on Plone 2.5 plus LDAP is this
document by Wichert Akkerman:

http://plone.org/documentation/how-to/plone-2-5-and-openldap-integration-for-users-and-groups

Also, you might like this product that helps you configure Plone with
LDAP, which also has some documentation:

http://plone.org/products/ldapconfig

Especially, you may be helped by some hints about which plugins to use:

https://svn.plone.org/svn/collective/ldapconfig/trunk/docs/PLUGINS.txt

Note: I wrote that product.

--
Maurits van Rees | http://maurits.vanrees.org/ [NL]
 ; &nbsp; &nbsp; &nbsp; &nbsp;   ;Work | http://zestsoftware.nl/
"Do not worry about your difficulties in computers,
I can assure you mine are still greater."


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://lists.plone.org/mailman/listinfo/setup


Send instant messages to your online friends http://au.messenger.yahoo.com
Re: LDAPMultiPlugins
country flaguser name
Germany
2007-03-22 12:54:41
Barry Page, on 2007-03-22:
> ImportError: No module named ldap

You are missing the python ldap module on your system.

I am on Debian/Ubuntu so in my case it is a simple matter
of:

aptitude install python-ldap

It is also in the cheeseshop:

http://
cheeseshop.python.org/pypi/python-ldap

So the following should also work, although currently it
gives an
error when I try it.

$ easy_install python-ldap
Searching for python-ldap
Reading http:/
/cheeseshop.python.org/pypi/python-ldap/
Reading http://python-lda
p.sourceforge.net/
Reading 
http://cheeseshop.python.org/pypi/python-ldap/2.0.11
No local packages or download links found for python-ldap
error: Could not find suitable distribution for
Requirement.parse('python-ldap')


-- 
Maurits van Rees | http://maurits.vanrees.or
g/ [NL]
            Work | http://zestsoftware.nl/
"Do not worry about your difficulties in computers,
 I can assure you mine are still greater."


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )