Package: lbdb
Version: 0.29
Severity: normal
I use lbdb with my ldap addressbook, i this addressbook there are people
without an email. if i query for a nick or something then also persons
that match and have no emailaddress are responsed.
I suggest to add following patch to /usr/lib/lbdb/mutt_ldap_query:
-- snip --
--- /usr/lib/lbdb/mutt_ldap_query 2004-02-23 13:04:32.000000000 +0100
+++ /usr/lib/lbdb/mutt_ldap_query 2005-01-12 22:57:56.000000000 +0100
@@ -195,7 +195,9 @@
$realname =~ s/\${$answer}/$result/g;
$comment =~ s/\${$answer}/$result/g;
}
- push @results, "$email\t$realname\t$comment\n";
+ if ($email ne '') {
+ push @results, "$email\t$realname\t$comment\n";
+ }
}
$ldap->unbind;
}
-- snap --
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages lbdb depends on:
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii perl 5.8.4-5 Larry Wall's Practical Extraction
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]