From 63f7b163a226575bdeef37f76b4d4d06c4262d25 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 13 Apr 2012 14:13:14 +0200 Subject: [PATCH] Add telephoneNumber to exported variables --- ipasserelle-portal.spec | 1 + root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default | 1 + 2 files changed, 2 insertions(+) diff --git a/ipasserelle-portal.spec b/ipasserelle-portal.spec index 5e1675d..8641ae6 100644 --- a/ipasserelle-portal.spec +++ b/ipasserelle-portal.spec @@ -28,6 +28,7 @@ Add a webSSO module based on LemonLDAP::NG %changelog * Fri Apr 13 2012 Daniel Berteaud 0.1.1-3 - Migrate to GIT +- Add telephoneNumber to exported variables * Mon Oct 24 2011 Daniel Berteaud 0.1-3 - Disable the password reset option in the portal diff --git a/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default b/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default index 2f361c8..0125749 100644 --- a/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default +++ b/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default @@ -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'});