There's a slight error... sorry about that...
Move the line creating the filter after the line that shift's the parameter into $name:
$name = shift || die "Usage: $0 filter\n"; my $filter = "(|(sn=$name*)(givenName=$name*))";
This works much better.. :-/
In reply to Re: Re: LDAP address lookup from Mutt
by waxhead
in thread LDAP address lookup from Mutt
by lachoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |