I'm using omnibus, and I updated /etc/gitlab/gitlab.rb like:
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['ldap_user_filter']='(email=*@your domain)'

then:
gitlab-ctl reconfigure


Vào 22:32:30 UTC+7 Thứ Ba, ngày 26 tháng 1 năm 2016, Magnus Therning đã 
viết:
>
>
> Cao Nhan writes: 
>
> > got it. 
>
> Would you mind sharing how you achieved it? 
>
> /M 
>
> > Vào 15:44:38 UTC+7 Thứ Ba, ngày 19 tháng 1 năm 2016, Cao Nhan đã viết: 
> >> 
> >> Guys, 
> >> I am GitLab, Ldap integration. I want to make gitlab allow only 
> username 
> >> from gitlab, that email attribute exist on their account. 
> >> How i configure gitlab to do that? 
> >> Please help ;) 
> >> Thanks 
> >> 
>
>
> -- 
> Magnus Therning,  magnus....@cipherstone.com <javascript:> 
> Cipherstone Technologies AB 
> Theres Svenssons gata 10, 417 55 Gothenburg, Sweden 
>
> The ultimate goal of all computer science is the program.  The 
> performance of programs was once the noblest function of computer 
> science, and computer science was indispensable to great programs. 
> Today, programming and computer science exist in complacent isolation, 
> and can be [rescued only] by conscious coöperation and collaboration 
> of all programmers. 
>

-- 
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/96033336-8418-4dee-a31a-781b1a97e586%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to