12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
{
|
|
my $auth = $sogod{'Authentication'} || 'cas';
|
|
if (lc $auth eq 'cas'){
|
|
$OUT .=<<"HERE";
|
|
auth sufficient pam_cas.so -simap://localhost -f/etc/pam_cas.conf
|
|
HERE
|
|
}
|
|
else{
|
|
return "";
|
|
}
|
|
}
|