https://sourceforge.net/tracker/?func=detail&atid=117457&aid=
3427834&group_id=17457
elsif ($uri) {
# Using uri directive
foreach my $u (split(/\s+/, $uri)) {
elsif ($uri) {
# Using uri directive
foreach my $u (split(/\s+/, $uri)) {
- if ($u =~ /^(ldap|ldaps|ldapi):\/\/([a-z0-9\_\-\.]+)(:(\d+))?/) {
+ if ($u =~ /^(ldap|ldaps|ldapi):\/\/([a-z0-9\_\-\.]+)(:(\d+))?/i) {
($proto, $host, $port) = ($1, $2, $4);
if (!$port && $proto eq "ldap") {
$port = 389;
($proto, $host, $port) = ($1, $2, $4);
if (!$port && $proto eq "ldap") {
$port = 389;