Sympa is a mailing list manager.
There are two ways to configure SSO with Sympa:
Choose one of the following method:
Configure Sympa virtual host like other protected virtual host but use Sympa Handler instead of default Handler.
<VirtualHost *:80> ServerName sympa.example.com # Load Sympa Handler PerlRequire Lemonldap/NG/Handler/Specific/SympaAutoLogin.pm PerlHeaderParserHandler Lemonldap::NG::Handler::Specific::SympaAutoLogin ... </VirtualHost>
Go to the Manager and create a new virtual host for Sympa.
Just configure the access rules.
Go in Manager, Default parameters » Advanced parameters » Special handlers » Sympa, and edit the different keys:
Edit the file “auth.conf”, for example:
vi /etc/sympa/auth.conf
And fill it:
generic_sso
service_name Centralized auth service
service_id lemonldapng
email_http_header HTTP_MAIL
netid_http_header HTTP_AUTH_USER
internal_email_by_netid 1
logout_url http://sympa.example.com/wws/logout
Note that if you use FastCGI, you must restart Apache to enable changes.
You can also use <portal>?logout=1 as logout_url to remove LemonLDAP::NG session when “disconnect” is chosen.
Configure Sympa virtual host like other protected virtual host but protect only magic authentication URL.
<VirtualHost *:80> ServerName sympa.example.com <Location /wws/sso_login/lemonldapng> PerlHeaderParserHandler Lemonldap::NG::Handler </Location> ... </VirtualHost>
service_id defined in Sympa apache configuration.
Go to the Manager and create a new virtual host for Sympa.
Configure the access rules and define the following headers: