On Mon, Oct 09, 2000 at 01:39:51PM +0200, Marc de Courville wrote:
> Dear all,
> 
> please find attached to this email the new version of mutt_ldap_query
> perl script that performs ldap queries for mutt.
> The distribution now includes a module for interfacing with little
> brother database (m_ldap).
> 
> Enjoy!
> 
Why not submit the m_ldap module to Roland for inclusion in the lbdb
tarball? I suggest altering:-

#! /bin/bash -posix

m_ldap_query()
{
        $HOME/dev/mutt_query/mutt_ldap_query-3.1.pl -l -p "$@"
}

to:-

#! /bin/bash -posix

m_ldap_query()
{
        $LDAP_QUERY_SCRIPT -l -p "$@"
}

then add something like:-

LDAP_QUERY_SCRIPT=$HOME/dev/mutt_query/mutt_ldap_query-3.1.pl

to your lbdbrc file. This makes the modules generic and you can easily
alter the lbdbrc file when you upgrade.

Cheers, Brian.

-- 
Associate Professor Brian Salter-Duke (Brian Duke) [EMAIL PROTECTED]  
      School of Biological, Environmental and Chemical Sciences, SITE,
Northern Territory University, Darwin, NT 0909, Australia.  Phone 08-89466702. 
Fax 08-89466847          http://www.smps.ntu.edu.au/school/compchem.html

Reply via email to