Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4a1ed00a
Commit
4a1ed00a
authored
Nov 06, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ldap_user_creation_fix' of /home/git/repositories/gitlab/gitlab-ee
parents
e316324b
9b7174c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lib/gitlab/ldap/user.rb
lib/gitlab/ldap/user.rb
+5
-1
No files found.
lib/gitlab/ldap/user.rb
View file @
4a1ed00a
...
...
@@ -86,7 +86,11 @@ module Gitlab
end
def
username
auth
.
info
.
nickname
.
to_s
.
force_encoding
(
"utf-8"
)
(
auth
.
info
.
nickname
||
samaccountname
).
to_s
.
force_encoding
(
"utf-8"
)
end
def
samaccountname
(
auth
.
extra
[
:raw_info
][
:samaccountname
]
||
[]).
first
end
def
provider
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment