in reply to Re: LDAP address lookup from Mutt
in thread LDAP address lookup from Mutt
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.. :-/
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: LDAP address lookup from Mutt
by Anonymous Monk on Aug 11, 2009 at 22:19 UTC |