[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] sup integration LDAP?



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@domain.tld>" 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
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk