Subject: [sup-talk] sup integration LDAP?

From: "Jagadeesh N. Malakannavar" <[email-masked]>
Date: Fri, 12 Nov 2010 09:17:34 +0530

Hi,
May I know hot to integrate sup with LDAP? OR I need to populate
contacts.txt using separate script?

Thanks
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Tero Tilus <[email-masked]>
Date: Fri, 12 Nov 2010 11:13:34 +0200

Jagadeesh N. Malakannavar, 2010-11-12 05:47:
> May I know hot to integrate sup with LDAP?

Sup has extra-contact-addresses hook you can use to integrate sup to
external directories, e.g. LDAP.  From `sup -l`

...
extra-contact-addresses
-----------------------
File: ~/.sup/hooks/extra-contact-addresses.rb
A list of extra addresses to propose for tab completion, etc. when the
user is entering an email address. Can be plain email addresses or can
be full "User Name <[email-masked]>" entries.

Variables: none
Return value: an array of email address strings.
...

There are integration instructions in sup wiki for two different
approaches: either use lbdbq to query LDAP on demand (up to date) or
directly read lbdb cache (fast).

http://sup.rubyforge.org/wiki/wiki.pl?LbdbIntegration

--
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk