Re: [gitorious] LDAP authentication with short user names

2013-03-20 Thread Thomas Chemineau
Hi, I have the same problem as Peter, I currently have several LDAP uid with 2 characters. So, I would like to know if there is still this three-characters limit into Gitorious. If not, is there a config parameter somewhere to adjust this limit ? Cheers, Thomas. Thomas Chemineau 2012/9/25

Re: [gitorious] LDAP authentication with short user names

2012-09-25 Thread Marius Mårnes Mathiesen
On Mon, Sep 24, 2012 at 2:47 PM, Ken Dreyer ktdre...@ktdreyer.com wrote: On Mon, Sep 24, 2012 at 3:37 AM, Marius Mårnes Mathiesen marius.mathie...@gmail.com wrote: Although I wasn't around at the time, I would think it either had to do with a higher probabilty for uniqueness with a three

Re: [gitorious] LDAP authentication with short user names

2012-09-24 Thread Marius Mårnes Mathiesen
On Fri, Sep 21, 2012 at 6:42 PM, Ken Dreyer ktdre...@ktdreyer.com wrote: On Fri, Sep 21, 2012 at 6:52 AM, Peter Kjellerstedt peter.kjellerst...@axis.com wrote: Couldn’t you just change the validation in app/models/user.rb that validates the length of the login to be between 3 and 40

Re: [gitorious] LDAP authentication with short user names

2012-09-24 Thread Marius Mårnes Mathiesen
On Mon, Sep 24, 2012 at 1:30 PM, Peter Kjellerstedt peter.kjellerst...@axis.com wrote: You might want to consider making this configurable, given that you cannot influence what user names are already in use in, e.g., an existing LDAP directory. E.g., I seriously doubt that our user who has a

RE: [gitorious] LDAP authentication with short user names

2012-09-21 Thread Peter Kjellerstedt
Mårnes Mathiesen Sent: den 19 september 2012 10:31 To: gitorious@googlegroups.com Subject: Re: [gitorious] LDAP authentication with short user names On Mon, Sep 17, 2012 at 9:16 AM, Andreas Fischer make.fisc...@googlemail.commailto:make.fisc...@googlemail.com wrote: Hi all, we finally have

Re: [gitorious] LDAP authentication with short user names

2012-09-21 Thread Ken Dreyer
On Fri, Sep 21, 2012 at 6:52 AM, Peter Kjellerstedt peter.kjellerst...@axis.com wrote: Couldn’t you just change the validation in app/models/user.rb that validates the length of the login to be between 3 and 40 characters to allow 2 to 40 instead? That is what we have done here… My concern

[gitorious] LDAP authentication with short user names

2012-09-19 Thread Andreas Fischer
Hi all, we finally have successfully setup a gitorious server with LDAP integration. It all works well if the user name is longer than 2 characters. Unfortunately most of our LDAP login names are the initials of the users with only 2 characters (like 'af'). Is there a way to enable short user

Re: [gitorious] LDAP authentication with short user names

2012-09-19 Thread Marius Mårnes Mathiesen
On Mon, Sep 17, 2012 at 9:16 AM, Andreas Fischer make.fisc...@googlemail.com wrote: Hi all, we finally have successfully setup a gitorious server with LDAP integration. It all works well if the user name is longer than 2 characters. Unfortunately most of our LDAP login names are the