Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] LDAP for user authentication & phone


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
anthony.minessale at g...
Guest





PostPosted: Thu Sep 25, 2008 9:59 am    Post subject: [Freeswitch-users] LDAP for user authentication & phone Reply with quote

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@skopis.com ([email]john%2Bfs@skopis.com[/email])>

is the guy who was working on it.



On Thu, Sep 25, 2008 at 8:50 AM, Adrian Gschwend <ktk@netlabs.org (ktk@netlabs.org)> wrote:
Quote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi group,

I know this topic comes up every few months so sorry for bringing it up
again Wink

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 Wink 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@lists.freeswitch.org (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



--
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services