weird attribute auth errors in Plone
Got this nailed. After rebuilding Zope, Plone, and a fresh clone of the Data.fs, and having no change, it was clear that the cause was deeper in the stack...
We were missing the python-ldap module on the server. Having built that and restarting Zope, all is well.
I'd been told the damn thing was cloned from the running system ;-)
Thanks to all
PF
At 2:03 PM -0600 12 11 06, Peter Fraterdeus wrote: Hi All!
I've got clone of a running plone 2.1.3 site which refuses to allow the skins to authenticate (I assume) giving the following on every object it attempts to access.
2006-11-12 13:43:37 ERROR Zope.SiteErrorLog http://cmstest.farmers.coop/images/gen-o.gif/index_html Traceback (most recent call last): File "/opt/Zope-2.8/lib/python/ZPublisher/Publish.py", line 105, in publish object=request.traverse(path, validated_hook=validated_hook) File "/opt/Zope-2.8/lib/python/ZPublisher/BaseRequest.py", line 445, in traverse else: user=v(request, auth, roles) File "/opt/Zope-2.8/lib/python/AccessControl/User.py", line 641, in validate user = self.authenticate(name, password, request) File "/var/lib/plone2.1/zope/Products/GroupUserFolder/GroupUserFolder.py", line 1025, in authenticate u = src.authenticate(name, password, request) AttributeError: authenticate
Same results whether anon, or I attempt to log-in with my ZMI user/admin , or with an LDAP auth uid....
The site is based on CMFMember with LDAPUserFolder, Zope 2.8.8, Python 2.3.5 See it here: http://cmstest.farmers.coop/ the working one is here: http://www.farmers.coop/
I have recently cloned the Data.fs from the working install, cloned the entire zope Products install from the working install, and upgraded Zope to 2.8.8
Andy McKay suggested replacing the LDAPUF in the plone site, but I can't EVEN get to it in the ZMI. The site throws the same auth error. I'm clearly at the end of my own expertise here.
I don't understand how the same data will produce a completely different result on a cloned machine. LDAP works fine from the command-line, everything, as far as I can see, is the same on the two systems.
Hints, pointers, suggestions??? I'm feeling heat from the client, as this is supposed to be our fail-over system!!
Many thanks!!
Thanks to all who contributed to shifting our reality into the parallel universe where the Democrats actually become capable of winning something.
