Hi Daniel,

I'm CC'ing reviewboard@googlegroups.com, as people may have hit this there
and have some workaround.

So, if I understand this correctly, your LDAP server doesn't care about the
case sensitivity, so it happily accepts anything, but Review Board doesn't
realize they're all the same and are creating different user accounts.

One thing you may want to try is to open reviewboard/accounts/backends.py,
find LDAPBackend.get_or_create_user, and change:

    user = User.objects.get(username=username)


    user = User.objects.get(username__iexact=username)

Then restart your server and see if the problem goes away. You'll of course
still have the duplicate accounts that were created, but hopefully you won't
be able to create any new duplicates.


Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com

On Thu, Jul 29, 2010 at 2:50 AM, Daniel Laird <daniel.j.la...@googlemail.com
> wrote:

> All,
> I am having an issue where I get multiple user accounts created when
> people are logging in using LDAP.  This is now starting to cause a
> headache as nearly everyone at one time or another uses the incorrect
> case of their username to login.
> The LDAP login seems to work regardless but the local account created
> by ReviewBoard is case sensitive.
> Can anyone help me to make the reviewboard server make everything
> lowercase before trying to login.  This would still work with LDAP and
> would mean I stop getting multiple user accounts.
> Which means the users of my system moan that they have no review
> requests - they log out and in with different cases and suddenly they
> have review requests.
> I hope you can help
> Many thanks
> Daniel Laird

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to