dataflake.org

Home Documentation Software Old Stuff Bug Reporting

encoding in LDAPDelegate module when delete (Resolved)

Request LDAP User Folder -- bug report -- by Eric Brun
Posted on Aug 24, 2006 4:29 am
Subscribe

Enter your email address to receive mail on every change to this issue.

Entries (Latest first)


  Resolve by Jens Vagelpohl on Aug 27, 2006 9:38 am
  You're absolutely right. This is now fixed in the repository and will become part of LDAPUserFolder 2.8-beta. If you could get the current code from Subversion and test it, that would be nice.

Here's the diff, excuse the long and wrapping URL:

http://svn.dataflake.org/comp.php?repname=DataflakeSoftware&path=&compare%5B%5D=%2FLDAPUserFolder@1359&compare%5B%5D=%2FLDAPUserFolder@1360
 

  Comment by Eric Brun on Aug 24, 2006 12:37 pm
  Yes there is an error :

When I add a group with no utf8 character like latin (with accent)
eg : 'groupe eric'
I can add it but I can't delete it.

Error is :

LDAPDelegate.delete:{'info':'invalid DN', 'desc':'Invalid DN syntax'}

Cheers

Eric

 

  Comment by Jens Vagelpohl on Aug 24, 2006 5:44 am
  Why do you care? Are you seeing problems? Please provide a full
problem description and error tracebacks, otherwise this is not a
problem.

 

  Initial Request by Eric Brun on Aug 24, 2006 4:29 am
  In the module LDAPDelegate, in the methods insert, modify, search, the 'dn' passed arg is automatically encoded with to_utf8 function. In delete method of this module, 'dn' argument is not converted in utf8 and since version 2.3 to 2.7 !

Is there a mistake here or am I wrong ?

Cheers