Génération d'une clef

tags/0.2.2
Daniel Berteaud 12 years ago
parent 59509359aa
commit beaa60162e
  1. 3
      root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/007default

@ -60,6 +60,9 @@ $conf->{'exportedVars'}->{'extension'} = 'extensionNumber' unless ($conf->{'expo
$conf->{'exportedVars'}->{'nom'} = 'sn' unless ($conf->{'exportedVars'}->{'nom'});
$conf->{'exportedVars'}->{'prenom'} = 'givenName' unless ($conf->{'exportedVars'}->{'prenom'});
# Initialize a random key
$conf->{'key'} = join( '', map { chr( int( rand(94) ) + 33 ) } ( 1 .. 16 ) ) unless ($conf->{'key'});
# Some other defaults config
$conf->{'timeout'} = '28800' if ($conf->{'timeout'} eq '72000');
$conf->{'portalDisplayAppslist'} = '1';

Loading…
Cancel
Save