Re: contacts via LDAP

2009-08-17 Thread Chris Bannister
On Wed, Aug 12, 2009 at 06:05:44PM +0200, pch0317 wrote:
 Hi
 In which e-mail client it is possible that import contacts via LDAP. For
 example from Active Directory or eDirectory or from OpenLDAP.

This is where apt-cache comes in handy:

apt-cache search ldap mail | wc -l
36

r...@box:~# apt-cache show lbdb | grep ldap
Suggests: mutt | mutt-ja, procmail, finger, abook, libpalm-perl,
libnet-ldap-perl
  - m_ldap (query some LDAP server)

man lbdbq
[ā€¦]
m_ldap This module queries an LDAP server using the Net::LDAP(3pm) Perl
modules from  CPAN.   It  can  be  configured using  an  external
resource file /etc/lbdb_ldap.rc You can explicity define a LDAP query in
this file or you can use one or more of the predefined queries from the
%ldap_server_db in this file.  For  this  you  have  to define a space
separated list of nicknames from entries in the variable LDAP_NICKS.

And a bug!

---
   Finally, to use lbdbq from mutt, add the following line to your
   $HOME/.muttrc:
  set query_command=lbdbq ā€™%sā€™
---

The command should be: set query_command=lbdbq %s
which is correct in /usr/share/doc/lbdb/README.gz

-- 
Chris.
==
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
   -- Stephen F Roberts


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: contacts via LDAP

2009-08-14 Thread joe

Paul Johnson wrote:

On Thu, 2009-08-13 at 11:48 +0530, Mihira Fernando wrote:

On Thursday 13 August 2009 11:16:31 am Paul Johnson wrote:


What would the best way to go about setting up a server to manage such
contacts?

Zimbra ?
www.zimbra.com


Overkill...granted I'd like the other features, but I'm trying to follow
the do one thing at a time and do one thing well philosophy of
software design that a comprehensive, one-size-fits-all package doesn't
necessarily allow.



The classical answer is OpenLDAP, which I do use, but I'm not really 
happy with. I run it only as an address book, and as you say, it's 
massive overkill. But it does do LDAP well, and though it's a bit of a 
resource hog (in Linux server terms, not desktop or Windows) it's 
well-behaved and completely unobtrusive once configured.


What I'd really like is a small program which accepted just the simple 
LDAP requests that email clients use, and turned the queries into SQL 
lookups. In other words, a tiny, tiny subset of OpenLDAP. I look for 
this every now and then, but I haven't found one, and I don't have the 
time to learn enough system programming to make one.


The main drawback to LDAP is that the address book has to be regarded as 
read-only: email clients can't edit or create new entries (yet). Even 
with Outlook and Exchange in a heavily integrated Windows Server network 
this is the case. I made a couple of brutally primitive perl web pages 
to do this, and if I needed to do it more than two or three times a 
year, I might make something a bit more sophisticated. On the odd 
occasion I've needed to do quite a bit of hacking I've used a full LDAP 
editor.

--
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




RE: contacts via LDAP

2009-08-13 Thread Paul Johnson
On Wed, 2009-08-12 at 16:40 -0700, Kevin Ross wrote: 
  From: pch0317 [mailto:pch0...@gmail.com]
  
  Hi
  In which e-mail client it is possible that import contacts via LDAP.
  For
  example from Active Directory or eDirectory or from OpenLDAP.
 
 Icedove (Thunderbird) has good LDAP support.  It can even auto-complete
 email addresses as you type them.  You don't need to import the contacts
 into your local address book, either.

What would the best way to go about setting up a server to manage such
contacts?




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: contacts via LDAP

2009-08-13 Thread Mihira Fernando
On Thursday 13 August 2009 11:16:31 am Paul Johnson wrote:

 What would the best way to go about setting up a server to manage such
 contacts?

Zimbra ?
www.zimbra.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: contacts via LDAP

2009-08-13 Thread Paul Johnson
On Thu, 2009-08-13 at 11:48 +0530, Mihira Fernando wrote:
 On Thursday 13 August 2009 11:16:31 am Paul Johnson wrote:
 
  What would the best way to go about setting up a server to manage such
  contacts?
 
 Zimbra ?
 www.zimbra.com

Overkill...granted I'd like the other features, but I'm trying to follow
the do one thing at a time and do one thing well philosophy of
software design that a comprehensive, one-size-fits-all package doesn't
necessarily allow.



signature.asc
Description: This is a digitally signed message part


contacts via LDAP

2009-08-12 Thread pch0317
Hi
In which e-mail client it is possible that import contacts via LDAP. For
example from Active Directory or eDirectory or from OpenLDAP.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



RE: contacts via LDAP

2009-08-12 Thread Kevin Ross
 From: pch0317 [mailto:pch0...@gmail.com]
 
 Hi
 In which e-mail client it is possible that import contacts via LDAP.
 For
 example from Active Directory or eDirectory or from OpenLDAP.

Icedove (Thunderbird) has good LDAP support.  It can even auto-complete
email addresses as you type them.  You don't need to import the contacts
into your local address book, either.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org