Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
8582c8f7
Commit
8582c8f7
authored
Apr 05, 2017
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add "FILE:" to keyTab (#707)
parent
2cd1c1bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm
+4
-1
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Kerberos.pm
View file @
8582c8f7
...
...
@@ -19,10 +19,12 @@ extends 'Lemonldap::NG::Portal::Auth::Base';
sub
init
{
my
(
$self
)
=
@_
;
unless
(
$self
->
keytab
(
$self
->
conf
->
{
krbKeyTab
})){
my
$file
;
unless
(
$file
=
$self
->
conf
->
{
krbKeyTab
}
)
{
$self
->
error
('
Keytab not defined
');
return
0
;
}
$self
->
keytab
("
FILE:
$file
");
return
1
;
}
...
...
@@ -76,6 +78,7 @@ sub extractFormInfo {
}
return
PE_ERROR
;
}
$self
->
userLogger
->
notice
("
$client_name
authentified by Kerberos
");
$req
->
user
(
$client_name
);
return
PE_OK
;
}
...
...
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