[Zope] Help, locked myself out with exUserFolder
axel kittenberger
axel.kittenberger at univie.ac.at
Fri Jan 30 04:20:36 EST 2004
On Thursday 29 January 2004 20:47, you wrote:
> axel kittenberger wrote at 2004-1-29 15:28 +0100:
> >I just destroyed my plone Site with exUserFolder. I installed the product.
> >Removed 'acl_users' from the plone Folder, and installed the exUserFolder.
> >Now I only ever get "ValueError, unpack list of wrong size", on every
> >SubFolder of the plone site.
>
> This situation is the one the "emergency user" is for.
> Search the Web how to create one (probably the Zope Book (2.6 edition)
> will tell you).
>
> Login as "emergency user" and undo the bad transactions.
No no, I logged in as emergeny user, and still the system refused me entry.
It's a bug in exUserFolder, my password does contain a semicolon, so it
errored.
Following Patch solved my problem, I found it in google, it has already once
been proposed in 2001, yet it seems the HEAD does not contain it.
-
--- exUserFolder.py 2004-01-29 15:52:05.000000000 +0100
+++ exUserFolder.py2 2004-01-29 15:51:34.000000000 +0100
@@ -712,8 +712,7 @@
if lower(auth[:6])!='basic ':
return None
- name,password=tuple(split(decodestring(split(auth)[-1]),
':',1))
+ name,password=tuple(split(decodestring(split(auth)[-1]), ':'))
try:
isbad = self.xcache_getUser(name)
-
Shall I send this patch also to exusers project to SF, or does it sufficite
here to be looked at?
Greetings, Axel
More information about the Zope
mailing list