Add telephoneNumber to exported variables

This commit is contained in:
Daniel Berteaud 2012-04-13 14:13:14 +02:00
parent 644eec6b3e
commit 63f7b163a2
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ Add a webSSO module based on LemonLDAP::NG
%changelog
* Fri Apr 13 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-3
- Migrate to GIT
- Add telephoneNumber to exported variables
* Mon Oct 24 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-3
- Disable the password reset option in the portal

View File

@ -56,6 +56,7 @@ $conf->{'locationRules'}->{"sso-manager.$domain"} = {
# Add default exported var
$conf->{'exportedVars'}->{'mail'} = 'preferredMail' if ($conf->{'exportedVars'}->{'mail'} eq 'mail');
$conf->{'exportedVars'}->{'extension'} = 'extensionNumber' unless ($conf->{'exportedVars'}->{'extension'});
$conf->{'exportedVars'}->{'telephone'} = 'telephoneNumber' unless ($conf->{'exportedVars'}->{'telephone'});
$conf->{'exportedVars'}->{'nom'} = 'sn' unless ($conf->{'exportedVars'}->{'nom'});
$conf->{'exportedVars'}->{'prenom'} = 'givenName' unless ($conf->{'exportedVars'}->{'prenom'});