{ # SSL Auth my $ssl = $llng->prop('SSLAuth') || ''; if ($ssl eq 'optional' || $ssl eq 'require'){ # SSL Auth is enabled # Configure common attributes $conf->{'SSLLDAPField'} = 'uid'; $conf->{'SSLVar'} = 'SSL_CLIENT_S_DN_CN'; $conf->{'SSLRequire'} = '1'; if ($ssl eq 'optional'){ $conf->{'authentication'} = 'Multi SSL;LDAP'; } else{ $conf->{'authentication'} = 'SSL'; } } else{ $conf->{'authentication'} = 'LDAP'; } $OUT = ''; }