|
List Info
Thread: Re: Re: LDAPMultiPlugins
|
|
| Re: Re: LDAPMultiPlugins |
  New Zealand |
2007-03-21 23:49:34 |
|
No luck. I did a python |>> import _ldap from my Zope python instance without error, but I get the same error on startup. ----- Original Message ---- From: Barry Page <barry_page yahoo.co.nz> To: setup lists.plone.org Sent: Thursday, 22 March, 2007 3:43:44 PM Subject: Re: [Setup] Re: LDAPMultiPlugins
Looks like I haven't imported _ldap.so as per http://efod.se/blog/topics/software and http://plone.org/documentation/how-to/active-directory-authenticationI'll need to try this a bit later as I don't have proper command line access to the box from where I am.
----- Original Message ---- From: Barry Page <barry_page yahoo.co.nz> To: setup lists.plone.org Sent: Thursday, 22 March, 2007 2:45:26 PM Subject: Re: [Setup] Re: LDAPMultiPlugins
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.rees zestsoftware.nl> To: setup lists.plone.org Sent: Wednesday, 21 March, 2007 10:06:31 PM Subject: [Setup] Re: LDAPMultiPlugins
Mo serr, 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? 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? 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] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
_______________________________________________ Setup mailing list Setup lists.plone.org http://lists.plone.org/mailman/listinfo/setup
Send instant messages to your
online friends http://au.messenger.yahoo.com
Send instant messages to your online friends http://au.messenger.yahoo.com
Send instant messages to your online friends http://au.messenger.yahoo.com |
[1]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|