Commit 8582c8f7 authored by Yadd's avatar Yadd

Add "FILE:" to keyTab (#707)

parent 2cd1c1bf
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment