[Zope] [Fwd: [BTreeFolder2] BTree keys corruption problem] Related LDAP problem ??

Dieter Maurer dieter at handshake.de
Tue Feb 24 15:04:54 EST 2004


FLORAC Thierry wrote at 2004-2-24 09:14 +0100:
> ...
>if a user authenticate himself using spaces before or after his user name, authentication is OK ;
> - if I try to create a new entry into my profiles folder using this user name (including spaces !), the entry is created into the BTreeFolder2 without spaces, and that seems to create duplicated keys !!
>
>Could I be wrong ??

Almost surely, you are.

  There is no way to get duplicate keys in a "BTree" (on which
  "BTreeFolder2" is built).

  Use "strip" to normalize your user names before you use
  the result as keys to your "BTreeFolder2".

-- 
Dieter



More information about the Zope mailing list