Alexander | 1 Apr 06:31
Picon
Gravatar

Plone 3.0 / 2.5 - LDAP - User_Enumeration crash my site

Hi,

Sorry for my horrible english.

And sorry for this similar message (Here's more information - and new try -
maybe useful).

I've installed Plone 3.0.

I've installed OpenLDAP too.

I'm running Ubuntu Server (I don't like this, but a job is a job).

All is ok with OpenLDAP. A can read and write into directory easily.

I have installed PloneLDAP too. And, of course, add all plugins into my 
plone-site.

So... now the hell:

I can normally login into plone with an user of LDAP directory. 
It's really cool see all working on the first step.

But all pages of my plone-site are broken. The first page, 'News' section,
'Users' section and 'Events' section show: 

"We're sorry, but there seems to be an error…
The error has been logged as entry number 1207021047.050.37295422654.
If you need to report this to the site administration, 
please include this entry number in your message."
(Continue reading)

David Picó | 1 Apr 12:11
Picon

Plone sites into a local Zope folder with local managers

Hi!

I'm configuring a Zope server for a college course on Plone and I'd like to
have many folders at the ZMI so that different managers (students) have
rights on them. I want that every student can login as manager for his/her
own folder and work there. In particular, I want them to be able to create
and manage their own Plone sites LOCALLY withing their folder.

However, if I create a Zope folder I don't know how to set the acl_users so
that local managers are authenticated as managers at the Plone sites they
create.

A colleage has told me that he's read sometime of a Plone product that
forces authentication to be done agains the local acl_users, instead of
going up to the root acl_users. Is it exists, we can't find it, though.

Any help on this will be greatly appreciated. Thanks in advance.
David

Erik Myllymaki | 1 Apr 17:18
Favicon

buildout error

My buildout started to not work yesterday, or better put, the buildout 
works but I can't start zope/plone afterwards. I am unsure what I might 
have done to cause this if anything.

I have started with a fresh buildout (removed .installed.cfg and 
downloads/) but I am still getting this error when I start up:

Traceback (most recent call last):
   File "bin/instance", line 151, in ?
     plone.recipe.zope2instance.ctl.main(
   File

"/Users/em/Development/Plone/intranet/eggs/plone.recipe.zope2instance-1.7-py2.4.egg/plone/recipe/zope2instance/ctl.py", 
line 188, in main
     c = AdjustedZopeCmd(options)
   File

"/Users/em/Development/Plone/intranet/eggs/tmp7WPqNL/zdaemon-2.0.1-py2.4.egg/zdaemon/zdctl.py", 
line 141, in __init__
AttributeError: 'dict' object has no attribute 'mapping'

Any advice greatly appreciated.

Erik Myllymaki | 1 Apr 18:15
Favicon

Re: buildout error

Erik Myllymaki wrote:
> My buildout started to not work yesterday, or better put, the buildout 
> works but I can't start zope/plone afterwards. I am unsure what I might 
> have done to cause this if anything.
> 
> I have started with a fresh buildout (removed .installed.cfg and 
> downloads/) but I am still getting this error when I start up:
> 
> Traceback (most recent call last):
>   File "bin/instance", line 151, in ?
>     plone.recipe.zope2instance.ctl.main(
>   File 
>
"/Users/em/Development/Plone/intranet/eggs/plone.recipe.zope2instance-1.7-py2.4.egg/plone/recipe/zope2instance/ctl.py", 
> line 188, in main
>     c = AdjustedZopeCmd(options)
>   File 
>
"/Users/em/Development/Plone/intranet/eggs/tmp7WPqNL/zdaemon-2.0.1-py2.4.egg/zdaemon/zdctl.py", 
> line 141, in __init__
> AttributeError: 'dict' object has no attribute 'mapping'

I was testing out collective.singing and collective.dancing - one of 
them was the culprit.

Charles Riley | 1 Apr 21:48
Picon

Plone 3.x and Redhat/CentOS


Hi,

I'm setting up a server to run plone using CentOS 5.  The python that comes
with CentOS 5 is version 2.4.3.
I'd like to install the 3.1 beta, but I see that it requires python 2.4.4. 
Normally, I'd just make a 2.4.5 rpm (which is the last 2.4 source release of
python) and install it alongside 2.4.3, then use the --with-python in zope
(and pil and so on) to force the use of python 2.4.5. 

My problem is that plone 3.x requires lxml, which requires libxml2, which it
seems a lot of CentOS packages depend on.  libxml2's python bindings are
built against python 2.4.3.  Would it be valid to make an rpm of just python
2.4.5 libxml2 bindings and install that alongside the system's python 2.4.3
bindings? Without changing the base libxml2 library?

edit:  Ok I just noticed that you only need lxml for running tests.. What
kind of tests?  e.g. Is this just for plone developers, or site developers?

Thanks!

--

-- 
View this message in context: http://www.nabble.com/Plone-3.x-and-Redhat-CentOS-tp16420921s15482p16420921.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Charles Riley | 1 Apr 22:46
Picon

Re: Plone 3.x and Redhat/CentOS


Charles Riley wrote:
> 
> Hi,
> 
> I'm setting up a server to run plone using CentOS 5.  The python that
> comes with CentOS 5 is version 2.4.3.
> I'd like to install the 3.1 beta, but I see that it requires python 2.4.4. 
> Normally, I'd just make a 2.4.5 rpm (which is the last 2.4 source release
> of python) and install it alongside 2.4.3, then use the --with-python in
> zope (and pil and so on) to force the use of python 2.4.5. 
> 
> My problem is that plone 3.x requires lxml, which requires libxml2, which
> it seems a lot of CentOS packages depend on.  libxml2's python bindings
> are built against python 2.4.3.  Would it be valid to make an rpm of just
> python 2.4.5 libxml2 bindings and install that alongside the system's
> python 2.4.3 bindings? Without changing the base libxml2 library?
> 
> edit:  Ok I just noticed that you only need lxml for running tests.. What
> kind of tests?  e.g. Is this just for plone developers, or site
> developers?
> 
> Thanks!
> 
> 
> 
> 

I resolved this - Since the major python version is the same, I downloaded
redhat's python srpm, changed the spec file to match 2.4.5 vs. 2.4.3, made
sure all the redhat-specific patches would apply, and rebuilt the rpm
against the 2.4.5 sources.  Works like a champ.

--

-- 
View this message in context: http://www.nabble.com/Plone-3.x-and-Redhat-CentOS-tp16420921s15482p16424057.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Picon
Gravatar

Automatic role to external user

Hi.

(sorry again for my english)

How can I setup to every external user receive a default role/properties automaticaly in first login?

I have users from LDAP.

Users created by Plone setup can login.

Users created by LDAP (without any Plone intervention) cannot login, or better, can login, but all site is
crashed. So I need to go into Zope, 'member_data' section and prune "orphaned" members.

I don't know why, I think is because role/properties... but... I'm not sure.

So... I need that 'external' users loging into Plone without any admin intervention.

Is it possible?

[]'s
Alexander
Brazil

clee | 3 Apr 07:29

Re: Plone 3 | Site Setup | Security | Enable User Folders [was: Missing "my folder" in the personal bar after upgrade to Plone 3]


Also in 2.5, the user's folder structure (of the user who is logged in) would
expand under the the Members Folder in the Nav portlet. How do I get this
behavior back in Plone 3? Thanks.

grahamperrin wrote:
> 
> 
> Forkman wrote:
>> 
>> Plone 3. After the upgrade the "my folder" alternative is missing in the
>> "personal bar"
>> 
> Site Setup | Security | Enable User Folders
> — that's 
> /@@security-controlpanel
> 
> 

--

-- 
View this message in context: http://www.nabble.com/Missing-%22my-folder%22-in-the-personal-bar-after-upgrade-to-Plone-3-tp14320373s15482p16465099.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Francois Barriere | 3 Apr 09:41
Favicon

Re: Plone 3.x and Redhat/CentOS


Charles Riley wrote:
> 
> 
> 
> Charles Riley wrote:
>> 
>> Hi,
>> 
>> I'm setting up a server to run plone using CentOS 5.  The python that
>> comes with CentOS 5 is version 2.4.3.
>> I'd like to install the 3.1 beta, but I see that it requires python
>> 2.4.4.  Normally, I'd just make a 2.4.5 rpm (which is the last 2.4 source
>> release of python) and install it alongside 2.4.3, then use the
>> --with-python in zope (and pil and so on) to force the use of python
>> 2.4.5. 
>> 
>> 
> 
> I resolved this - Since the major python version is the same, I downloaded
> redhat's python srpm, changed the spec file to match 2.4.5 vs. 2.4.3, made
> sure all the redhat-specific patches would apply, and rebuilt the rpm
> against the 2.4.5 sources.  Works like a champ.
> 
> 

   On our side, we have finally installed a separate python under
/usr/local. The Python libs/extensions are installed with it and we can
manage to change the version of Python (and the releated libs) without
impacting the system's Python.
It can sound dirty, but for a limited amount of software its very flexible
and still manageable.
I have to admit, we use RedHat-EL 4 which contains an even older version of
Python.

Francois.

--

-- 
View this message in context: http://www.nabble.com/Plone-3.x-and-Redhat-CentOS-tp16420921s15482p16467261.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

panyasan | 3 Apr 10:13

Protect your Plone 2.5 sites from spambots with Recaptcha using a PHP script


I help maintain a couple of Plone sites and there has been an increasing
number of automated sign-up attempts by spam bots recently. This does not
only bloat the members section of the website with bogus users when these
registration attemps are successful, it also spams my inbox with rejected
emails from the Plone system when the spam bots use non-existing e-mail
addresses.

Unfortunately, there is no “Captcha” plugin from the Plone community yet, so
I hacked together some changes to the “join_form” and “join_form_validate”
templates that uses the excellent Recaptcha service. Here is how you can use
their service to protect your Plone site. If you are interested, see

http://panyasan.wordpress.com/2008/04/02/protect-your-plone-sites
http://panyasan.wordpress.com/2008/04/02/protect-your-plone-sites 

I would be happy about improvement suggestions. A native plone plugin would
be much better, but I am not proficient in python and plone development so
this PHP script must do it for the moment. Seems to work well.

--

-- 
View this message in context: http://www.nabble.com/Protect-your-Plone-2.5-sites-from-spambots-with-Recaptcha-using-a-PHP-script-tp16467193s15482p16467193.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.


Gmane