users_ldap creates duplicate users because by default ldap is case insensitive.
Bug #985606 reported by
Daniel Reis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 1 | ||
Therp Backports (Deprecated) |
Fix Released
|
Low
|
Stefan Rijnhart (Opener) |
Bug Description
Using users_ladap module with the "Create user" option activated on the "LDAP configuration".
When a user login with it's username written with different case letters, OpenERp created duplicated users.
Example: if i login first as "dreispt", and again as "DREISPT", two OpenERP users will be generated for the same LDAP user.
Related branches
lp:~therp-nl/openobject-addons/7.0-lp985606-duplicate_users_from_ldap
- Stefan Rijnhart (Opener) (community): Needs Resubmitting
- OpenERP Core Team: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedauth_ldap/users_ldap.py (+1/-1)
no longer affects: | therp-addons |
Changed in therp-backports: | |
milestone: | none → 6.1-maintenance |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Stefan Rijnhart (Therp) (stefan-therp) |
Changed in therp-backports: | |
status: | In Progress → Fix Released |
Changed in therp-backports: | |
milestone: | 6.1-maintenance → fixed-after-61 |
To post a comment you must log in.
Hello Daniel,
Yes, you are right. Ldap is not a case sensitive that's why It will make a duplicate user( I didn't check yet).
I looked your MP, It looks ok for me. It will restrict to the user with another login name(as per lower case).
You have already put a MP for this, So our Core team will review it.
Thanks for contribution!