Add telephoneNumber to exported variables

tags/0.1.1 0.1.1
Daniel Berteaud 13 years ago
parent 644eec6b3e
commit 63f7b163a2
  1. 1
      ipasserelle-portal.spec
  2. 1
      root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default

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

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

Loading…
Cancel
Save