mod_ldap is a plugin for the directory interface abstraction.
Basically the directory interface is a clone of the ldap api but
can have pluggable modules to use other means such as sql of providing the data.  The only thing that uses this interface is

mod_dialplan_directory which is an example dialplan that uses
the directory interface.

This may start to sound confusing so keep in mind the ldap
api is called the "directory interface".

There is also the "xml directory" which is a section of
the FreeSWITCH virtual meta xml config registry. This is
where the domains and users are kept.

To use ldap for this a module similar to mod_xml_curl would have to be made called mod_xml_directory that would allow the "directory interface" to generate xml when the "xml directory was queried"

Basically, you would create a blank xml object then using
the param strings passed to you make an ldap query via the
directory interface that matches what is being looked for.
then as you get results you take the data and create tags into
the xml object until it's fully populated and return the object to
the caller.

If this seems like too much, you can also use mod_xml_curl to do
a CGI request to your web server then take the params and do the ldap conversion from there and send back a text representation of the xml.






 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400


----- Original Message ----
From: Josip Djuricic <josip.djuricic@primatel.hr>
To: freeswitch-users@lists.freeswitch.org
Sent: Tuesday, December 11, 2007 2:51:48 PM
Subject: [Freeswitch-users] mod_ldap

Hi everyone,

since I can't find any info's regarding mod_ldap, I wonder if anyone
made it work...and if can somebody wrote something about it on the wiki
or on the reply for this mail... I would really like freeswitch to use
ldap for users and dialplans, just till yet I didn't managed to make it
work.

Thank you all in advance.

J.

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Looking for last minute shopping deals? Find them fast with Yahoo! Search.