[sup-talk] sup integration LDAP?
Tero Tilus
tero at tilus.net
Fri Nov 12 04:13:34 EST 2010
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 at 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/
More information about the sup-talk
mailing list