diff --git a/root/etc/e-smith/templates/usr/share/mozilla-mcd/thunderbird.conf.php/10All b/root/etc/e-smith/templates/usr/share/mozilla-mcd/thunderbird.conf.php/10All index 127106d..13f154d 100644 --- a/root/etc/e-smith/templates/usr/share/mozilla-mcd/thunderbird.conf.php/10All +++ b/root/etc/e-smith/templates/usr/share/mozilla-mcd/thunderbird.conf.php/10All @@ -4,7 +4,7 @@ use esmith::util; my $ldapbase = esmith::util::ldapBase ($DomainName); -my $pref = ((${'mozilla-mcd'}{'TBEnforce'} || 'disabled') eq 'enabled') ? "lockPref":"defaultPref"; +my $pref = ((${'mozilla-mcd'}{'TBEnforce'} || 'disabled') =~ m/^enabled|on|1|yes$/) ? "lockPref":"defaultPref"; $OUT .=<<"EOF";