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
ffa7b94d
Commit
ffa7b94d
authored
Dec 01, 2017
by
Alex Lossent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix variable names in error message
parent
6013ef63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/lib/ee/gitlab/auth/ldap/access.rb
ee/lib/ee/gitlab/auth/ldap/access.rb
+2
-2
No files found.
ee/lib/ee/gitlab/auth/ldap/access.rb
View file @
ffa7b94d
...
...
@@ -72,8 +72,8 @@ module EE
kerberos_identity
||=
::
Identity
.
new
(
provider: :kerberos
,
user:
user
)
kerberos_identity
.
extern_uid
=
ldap_user
.
kerberos_principal
unless
kerberos_identity
.
save
::
Rails
.
logger
.
error
"
#{
self
.
class
.
name
}
: failed to add Kerberos principal
#{
principal
}
to
#{
user
.
name
}
(
#{
user
.
id
}
)
\n
"
\
"error messages:
#{
new
_identity
.
errors
.
messages
}
"
::
Rails
.
logger
.
error
"
#{
self
.
class
.
name
}
: failed to add Kerberos principal
#{
ldap_user
.
kerberos_
principal
}
to
#{
user
.
name
}
(
#{
user
.
id
}
)
\n
"
\
"error messages:
#{
kerberos
_identity
.
errors
.
messages
}
"
end
end
...
...
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