Re: Duplicate LDAP users

2012-04-01 Thread geert
Hi All,

We've got the same problem. We use Windows AD to authenticate and for it 
usernames jblog, JBlog and JBLOG are the same, but for reviewboard they are 
three different users.

Is there a way to convert the username to all lowercase inside reviewboard?


Cheers - Geert


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Duplicate LDAP users

2012-04-01 Thread Christian Hammond
What version of Review Board are you using? Thought we fixed this..

Christian


On Apr 1, 2012, at 13:28, geert glind...@dynamiccontrols.com wrote:

 Hi All,
 
 We've got the same problem. We use Windows AD to authenticate and for it 
 usernames jblog, JBlog and JBLOG are the same, but for reviewboard they are 
 three different users.
 
 Is there a way to convert the username to all lowercase inside reviewboard?
 
 
 Cheers - Geert
 
 
 -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Duplicate LDAP users

2012-04-01 Thread geert
Hi Christian,

We're using 1.6.4.1 at the moment. I don't see anything related to this in 
the release notes for 1.6.5.


Cheers - Geert

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: Duplicate LDAP users

2010-07-29 Thread Christian Hammond
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)

to:

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

-- 
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 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en