Wait, cancel that, I haven't had my coffee and confused this with a
different issue. No fix.

On Thu, Dec 22, 2016 at 9:01 AM, Brian O'Donnell <patternspi...@gmail.com>
wrote:

> The solution was to upgrade. There was a fix introduced in a recent
> version. :)
>
> On Thu, Dec 22, 2016 at 5:00 AM, Rik Theys <rik.th...@gmail.com> wrote:
>
>> Hi Brian,
>>
>> I'm having the exact same problem as you have/had. Did you find a
>> solution for this in the end?
>>
>> Regards,
>>
>> Rik
>>
>> On Friday, November 6, 2015 at 4:08:18 PM UTC+1, Brian O'Donnell wrote:
>>>
>>> Hi,
>>>
>>> I have GitLab 8.x configured for shibboleth authentication, and it works
>>> great. The only issue is that I would like to control the auto-created
>>> users' username. Presently it appears to generate them from whatever I set
>>> the 'email' attribute to, but this must be a valid email address format. I
>>> would like it to use HTTP_UID, but I cannot figure out how to do this.
>>>
>>> The relevant config from gitlab.rb looks like this:
>>>
>>> gitlab_rails['omniauth_enabled'] = true
>>> gitlab_rails['omniauth_allow_single_sign_on'] = true
>>> gitlab_rails['omniauth_block_auto_created_users'] = false
>>> gitlab_rails['omniauth_providers'] = [
>>>   {
>>>     "name" => 'shibboleth',
>>>     "args" => {
>>>         "shib_session_id_field"         => "HTTP_SHIB_SESSION_ID",
>>>         "shib_application_id_field"     => "HTTP_SHIB_APPLICATION_ID",
>>>         "uid_field"                     => "HTTP_UID",
>>>         "name_field"                    => "HTTP_CN",
>>>         "info_fields"                   => {
>>>             "email"     => "HTTP_MAIL",
>>>         },
>>>     },
>>>     "label"     => "foo"
>>>   }
>>> ]
>>>
>>> Thanks!
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "GitLab" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/gitlabhq/vnEyKie2G7I/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> gitlabhq+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/gitlabhq/53dbebce-86c8-4d54-91f9-48dcdf8a707f%40googlegroups.com
>> <https://groups.google.com/d/msgid/gitlabhq/53dbebce-86c8-4d54-91f9-48dcdf8a707f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> This email is confidential. Please print it out and burn it after reading.
>



-- 
This email is confidential. Please print it out and burn it after reading.

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/CAF7L9aS_Sghc24zTBHnGpkWi_Xz%3DG-DbwXVfpLgR26dhpxLcKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to