Marco Michelino
2006-12-01 13:17:20 UTC
--- assp.pl.1.2.6.53 2006-12-01 14:01:32.000000000 +0100
+++ assp.pl 2006-12-01 14:13:51.000000000 +0100
@@ -2633,6 +2633,7 @@
sub localmaildomain {
my $h = shift;
+ $h =~ tr/A-Z/a-z/;
$ldapflt = $ldLDAPFilter;
$ldapflt =~ s/DOMAIN/$h/g;
$ldaproot = $LDAPRoot;
@@ -2647,6 +2648,7 @@
# do LDAP lookup
$current_email = "$1$h";
+ $current_email =~ tr/A-Z/a-z/;
$at_position = index($current_email, '@');
$current_username = substr($current_email, 0, $at_position);
$current_domain = substr($current_email, $at_position + 1);
+++ assp.pl 2006-12-01 14:13:51.000000000 +0100
@@ -2633,6 +2633,7 @@
sub localmaildomain {
my $h = shift;
+ $h =~ tr/A-Z/a-z/;
$ldapflt = $ldLDAPFilter;
$ldapflt =~ s/DOMAIN/$h/g;
$ldaproot = $LDAPRoot;
@@ -2647,6 +2648,7 @@
# do LDAP lookup
$current_email = "$1$h";
+ $current_email =~ tr/A-Z/a-z/;
$at_position = index($current_email, '@');
$current_username = substr($current_email, 0, $at_position);
$current_domain = substr($current_email, $at_position + 1);