[Freeswitch-users] LDAP for user authentication & phone numbers

Anthony Minessale anthony.minessale at gmail.com
Thu Sep 25 07:56:18 PDT 2008


Try

src/mod/directories/mod_ldap/mod_ldap.c

and

src/mod/xml_int/mod_xml_ldap/mod_xml_ldap.c

This is the code that makes it possible.

John Skopis <john+fs at skopis.com <john%2Bfs at skopis.com>>

is the guy who was working on it.



On Thu, Sep 25, 2008 at 8:50 AM, Adrian Gschwend <ktk at netlabs.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi group,
>
> I know this topic comes up every few months so sorry for bringing it up
> again ;)
>
> I use FreeSWITCH for our open source project for quite some time now and
> we are very happy with it. To manage users I just use LDAP and every
> application (Wiki, TRAC, Apache, XMPP...) is connecting to the directory
> for users & authentication. So I would like to do the same for FreeSWITCH.
>
> Googling a bit around I found some old postings on this mailinglist,
> namely the one from Anthony where he explains a bit about mod_ldap:
>
> http://lists.freeswitch.org/pipermail/freeswitch-users/2008-May/003382.html
>
> Quoting that mail:
>
> "Now also in mod_ldap, there is some code someone recently contributed
> to tie our XML interface to LDAP,
> This is more interesting because then when anything in FreeSWITCH tries
> to lookup a user, dialplan entry or anything else in our XML config, all
> the important details are passed to LDAP where it can make a query, pull
> the info out of LDAP and deliver it back to FreeSWITCH as the XML it was
> looking for.  This allows you to make all of the registrations, dialplan
> etc real time driven by LDAP, you can also bind a perl or lua script to
> this operation as well as mod_xml_curl who will turn the request into an
> HTTP post to a web server to fetch the data."
>
> That's basically what I need. My idea is to not create an XML file for
> every user but to tell (in an XML file I guess) that the phone numbers,
> username & password can be found in a directory.
>
> I do have quite some experience in LDAP debugging and I can code a bit
> as long as I don't have to mess with pointers ;) So where should I study
> some code to figure out how that works exactly? I promise to document it
> once I got it to work as I think more people want to have that feature
> as well.
>
> thanks
>
> Adrian
>
> - --
> Adrian Gschwend
> @ netlabs.org
>
> ktk [a t] netlabs.org
> - -------
> Open Source Project
> http://www.netlabs.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFI25cbqpMUYrZbQBERAuAgAJ0bFoa7HHCqDB/+ORStts/4GcGnngCeIt8o
> No7BU937l+OOkWiT/qzRhjE=
> =np/p
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080925/b7fa859c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list