[asterisk-users] Authenticating SIP user in LDAP database instead of SIP.conf file

Gavin Henry gavin.henry at gmail.com
Tue Aug 28 04:36:22 CDT 2007


On 27/08/07, Abhishek M S <abhishek.suhas at gmail.com> wrote:
> Dear Mr Gavin,
>
> Sorry for having miss pelt  your name twice... Thank you once again for your
> prompt reply. Is this the correct version of the driver for Asterisk 1.2.x :
>  res_config_ldap-v0.7.tar.gz  from the link
> http://bugs.digium.com/view.php?id=5768

If you use an old version of res_config_ldap with Asterisk version
1.2, I'm pretty sure you'll be asked to upgrade to Asterisk 1.4 if you
seek any help via the lists or bug tracker.

If you can use the latest release of Asterisk, you should.

>
> Thank you for your time and patience,
>
> Abhishek
>
>
>
>
>  On 8/27/07, Gavin Henry <gavin.henry at gmail.com> wrote:
> > On 27/08/07, Abhishek M S <abhishek.suhas at gmail.com> wrote:
> > > Dear Mr Galvin,
> >
> > Gavin! ;-)
> >
> > >
> > > As of today I am using the res_config_ldap of Astirectory in my test
> > > Asterisk system to connect to a test LDAP database of my University.
> Things
> > > seem to be working fine so far. Now I'm faced with the task of
> installing
> > > this in the productive system. Before doing so, I'd sure like to
> consider
> > > trying the RealTime database driver that you people have developed. Why
> so?
> > > because I trust your judgment.
> >
> > Thanks, but you should still test it yourself.
> >
> > >
> > > > >I see it is res_config_ldap. You'd be much better using the latest
> > > > >version in the bug tracker.
> > >
> > > This would mean removing Astirectory module, installing the new driver
> and
> > > loading the new schema into LDAP. In my view, the latter part shouldn't
> be a
> > > concern because the old attributes and object classes (Astirectory)
> should
> > > in no way interfere with the new ones. Besides the old object classes
> could
> > > be deleted from LDAP. Also the former part shouldn't be of much concern
> > > either.
> >
> > Nope, you are correct.
> >
> > >
> > > My only concern as of now is in the installation of the RealTime
> database
> > > driver because the 'readme' file does not say anything about the
> > > installation. It only says about the configuration after installation.
> > > From the link:
> > >
> http://svn.digium.com/svn/asterisk/team/group/res_config_ldap/
> > > Would it be sufficiant if I were to copy the makefile and
> res_config_ldap.c
> > > to the res/ directory of my running Asterisk and do make; make install?
> or
> > > do I have to do LIBS=-lldap export LIBS ./configure before that? My
> asterisk
> > > version is 1.2.6.
> >
> > This Digium version is for 1.4.x, not 1.2
> >
> > >
> > > Thanks in advance,
> > > Abhishek
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 8/27/07, Gavin Henry < gavin.henry at gmail.com > wrote:
> > > > I see it is res_config_ldap. You'd be much better using the latest
> > > > version in the bug tracker.
> > > >
> > > > On 27/08/07, Gavin Henry < gavin.henry at gmail.com> wrote:
> > > > > On 26/08/07, Abhishek M S < abhishek.suhas at gmail.com> wrote:
> > > > > > Dear Mr Galvin,
> > > > >
> > > > > Gavin ;-)
> > > > >
> > > > > >
> > > > > > Thank you for the links. Had gone through the bug tracker before
> > > though. I
> > > > > > was specifically referring to the schema for the driver
> 'Astirectory'
> > > and
> > > > > > not the one related to the real time LDAP driver for Open LDAP.
> > > > >
> > > > > It's for any LDAP Compliant Directory Server.
> > > > >
> > > > >  In the
> > > > > > 'Astirectory'  documentation there's a file defining the schema
> for
> > > LDAP
> > > > > > which is incomplete. By incomplete I mean the Syntax and few other
> > > fields
> > > > > > are not defined let alone the schema being a static file. I do
> > > understand
> > > > > > that for Open LDAP a static file schema should be defined.
> > > > >
> > > > > Not really. in the RealTime driver you can specify which LDAP
> > > > > attributes map to which Asterisk Config settings.
> > > > >
> > > > > > The only reason why I preferred Astirectory over the LDAP real
> time
> > > driver
> > > > > > was the fact that there is no mapping required for SIP users and
> > > peers.
> > > > >
> > > > > OK, maybe I need to go and read more about Astirectory.
> > > > >
> > > > > >
> > > > > > Regards
> > > > > > Abhishek
> > > > > >
> > > > > >
> > > > > > On 8/24/07, Gavin Henry <gavin.henry at gmail.com> wrote:
> > > > > > >
> > > > > > > Please see the official tracker in the Digium buglist:
> > > > > > >
> > > > > > > http://bugs.digium.com/view.php?id=5768
> > > > > > >
> > > > > > > Here are the schemas we did for OpenLDAP:
> > > > > > >
> > > > > > >
> > > > > >
> > >
> http://bugs.digium.com/file_download.php?file_id=14842&type=bug
> > > > > > >
> > > > > >
> > >
> http://bugs.digium.com/file_download.php?file_id=14841&type=bug
> > > > > > >
> > > > > > > Also, for Novell eDirectory, see:
> > > > > > >
> > > > > > >
> > > http://forge.voicerd.org/frs/?group_id=7&release_id=17
> > > > > > >
> > > > > > > Gavin.
> > > > > > >
> > > > > > > --
> > > > > > >
> http://www.suretecsystems.com/services/openldap/
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
> > > > > > >
> > > > > > > asterisk-users mailing list
> > > > > > > To UNSUBSCRIBE or update options visit:
> > > > > > >
> > > > > >
> > >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > --Bandwidth and Colocation Provided by
> http://www.api-digital.com--
> > > > > >
> > > > > > asterisk-users mailing list
> > > > > > To UNSUBSCRIBE or update options visit:
> > > > > >
> > > > > >
> > >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > http://www.suretecsystems.com/services/openldap/
> > > > >
> > > >
> > > >
> > > > --
> > > > http://www.suretecsystems.com/services/openldap/
> > > >
> > > > _______________________________________________
> > > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > > >
> > > > asterisk-users mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > >
> > >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > >
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >
> > >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> >
> > --
> > http://www.suretecsystems.com/services/openldap/
> >
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >
> http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>
> http://lists.digium.com/mailman/listinfo/asterisk-users
>


-- 
http://www.suretecsystems.com/services/openldap/



More information about the asterisk-users mailing list