Hi,<br>There isn't an astirectory driver for Asterisk version 1.4. So I guess you'll have to use the asterisk realtime (res_config_ldap) driver.<br>cheers<br>Abhishek<br><br><div><span class="gmail_quote">On 9/5/07,
<b class="gmail_sendername">Alessandro Russo</b> <<a href="mailto:ax.russo@gmail.com">ax.russo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi to all<br>I'm using Asterisk 1.4 and I'd like to use LDAP instead of sip.conf...<br>Now you suggest to use asterisk realtime (res_config_ldap) or astirectory??<br>Can I use one of them with version 1.4?<br>thx<div>
<span class="q" id="q_114d5bbe02d5db4b_1"><br>
<br><br><br><div><span class="gmail_quote">On 8/30/07, <b class="gmail_sendername">Gavin Henry</b> <<a href="mailto:gavin.henry@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gavin.henry@gmail.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
No probs.<br><br>On 29/08/2007, Abhishek M S <<a href="mailto:abhishek.suhas@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">abhishek.suhas@gmail.com</a>> wrote:<br>> Dear Mr Gavin,
<br>> Thank you once again. Will have to talk it over with my prof before
<br>> upgrading to Asterisk 1.4. The productive system is currently running on<br>> 1.2.6.<br>> Thanks<br>> Abhishek<br>><br>><br>> On 8/28/07, Gavin Henry <<a href="mailto:gavin.henry@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gavin.henry@gmail.com</a>> wrote:<br>> > On 27/08/07, Abhishek M S <<a href="mailto:abhishek.suhas@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">abhishek.suhas@gmail.com</a>
> wrote:<br>> > > Dear Mr Gavin,<br>> > ><br>> > > Sorry for having miss pelt your name twice... Thank you once again for
<br>> your<br>> > > prompt reply. Is this the correct version of the driver for Asterisk<br>> 1.2.x :<br>> > > res_config_ldap-v0.7.tar.gz from the link<br>> > > <a href="http://bugs.digium.com/view.php?id=5768" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://bugs.digium.com/view.php?id=5768</a><br>> ><br>> > If you use an old version of res_config_ldap with Asterisk version<br>> > 1.2, I'm pretty sure you'll be asked to upgrade to Asterisk 1.4
if you<br>> > seek any help via the lists or bug tracker.<br>> ><br>> > If you can use the latest release of Asterisk, you should.<br>> ><br>> > ><br>> > > Thank you for your time and patience,
<br>> > ><br>> > > Abhishek<br>> > ><br>> > ><br>> > ><br>> > ><br>> > > On 8/27/07, Gavin Henry <<a href="mailto:gavin.henry@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gavin.henry@gmail.com
</a>> wrote:<br>> > > > On 27/08/07, Abhishek M S <<a href="mailto:abhishek.suhas@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">abhishek.suhas@gmail.com</a>> wrote:
<br>> > > > > Dear Mr Galvin,<br>> > > ><br>
> > > > Gavin! ;-)<br>> > > ><br>> > > > ><br>> > > > > As of today I am using the res_config_ldap of Astirectory in my test<br>> > > > > Asterisk system to connect to a test LDAP database of my University.
<br>> > > Things<br>> > > > > seem to be working fine so far. Now I'm faced with the task of<br>> > > installing<br>> > > > > this in the productive system. Before doing so, I'd sure like to
<br>> > > consider<br>> > > > > trying the RealTime database driver that you people have developed.<br>> Why<br>> > > so?<br>> > > > > because I trust your judgment.<br>
> > > >
<br>> > > > Thanks, but you should still test it yourself.<br>> > > ><br>> > > > ><br>> > > > > > >I see it is res_config_ldap. You'd be much better using the
<br>> latest<br>> > > > > > >version in the bug tracker.<br>> > > > ><br>> > > > > This would mean removing Astirectory module, installing the new<br>> driver<br>> > > and
<br>> > > > > loading the new schema into LDAP. In my view, the latter part<br>> shouldn't<br>> > > be a<br>> > > > > concern because the old attributes and object classes (Astirectory)
<br>> > > should<br>> > > > > in no way interfere with the new ones. Besides the old object<br>> classes<br>> > > could<br>> > > > > be deleted from LDAP. Also the former part shouldn't be of much
<br>> concern<br>> > > > > either.<br>> > > ><br>> > > > Nope, you are correct.<br>> > > ><br>> > > > ><br>> > > > > My only concern as of now is in the installation of the RealTime
<br>> > > database<br>> > > > > driver because the 'readme' file does not say anything about the<br>> > > > > installation. It only says about the configuration after<br>> installation.
<br>> > > > > From the link:<br>> > > > ><br>> > ><br>> <a href="http://svn.digium.com/svn/asterisk/team/group/res_config_ldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://svn.digium.com/svn/asterisk/team/group/res_config_ldap/
</a><br>> > > > > Would it be sufficiant if I were to copy the makefile and<br>> > > res_config_ldap.c<br>> > > > > to the res/ directory of my running Asterisk and do make; make<br>
> install?<br>> > > or<br>> > > > > do I have to do LIBS=-lldap export LIBS ./configure before that? My<br>> > > asterisk<br>> > > > > version is 1.2.6.<br>> > > >
<br>> > > > This Digium version is for 1.4.x, not 1.2<br>> > > ><br>> > > > ><br>> > > > > Thanks in advance,<br>> > > > > Abhishek<br>> > > > >
<br>> > > > ><br>> > > > ><br>> > > > ><br>> > > > ><br>> > > > ><br>> > > > > On 8/27/07, Gavin Henry < <a href="mailto:gavin.henry@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
gavin.henry@gmail.com</a> > wrote:<br>> > > > > > I see it is res_config_ldap. You'd be much better using the latest<br>> > > > > > version in the bug tracker.<br>> > > > > >
<br>> > > > > > On 27/08/07, Gavin Henry < <a href="mailto:gavin.henry@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gavin.henry@gmail.com</a>> wrote:<br>> > > > > > > On 26/08/07, Abhishek M S <
<a href="mailto:abhishek.suhas@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
abhishek.suhas@gmail.com</a>> wrote:<br>> > > > > > > > Dear Mr Galvin,<br>> > > > > > ><br>> > > > > > > Gavin ;-)<br>> > > > > > >
<br>> > > > > > > ><br>> > > > > > > > Thank you for the links. Had gone through the bug tracker<br>> before<br>> > > > > though. I<br>> > > > > > > > was specifically referring to the schema for the driver
<br>> > > 'Astirectory'<br>> > > > > and<br>> > > > > > > > not the one related to the real time LDAP driver for Open<br>> LDAP.<br>> > > > > > >
<br>> > > > > > > It's for any LDAP Compliant Directory Server.<br>> > > > > > ><br>> > > > > > > In the<br>> > > > > > > > 'Astirectory' documentation there's a file defining the
<br>> schema<br>> > > for<br>> > > > > LDAP<br>> > > > > > > > which is incomplete. By incomplete I mean the Syntax and few<br>> other<br>> > > > > fields
<br>> > > > > > > > are not defined let alone the schema being a static file. I do<br>> > > > > understand<br>> > > > > > > > that for Open LDAP a static file schema should be defined.
<br>> > > > > > ><br>> > > > > > > Not really. in the RealTime driver you can specify which LDAP<br>> > > > > > > attributes map to which Asterisk Config settings.
<br>> > > > > > ><br>> > > > > > > > The only reason why I preferred Astirectory over the LDAP real<br>> > > time<br>> > > > > driver<br>> > > > > > > > was the fact that there is no mapping required for SIP users
<br>> and<br>> > > > > peers.<br>> > > > > > ><br>> > > > > > > OK, maybe I need to go and read more about Astirectory.<br>> > > > > > ><br>
> > > > > > > ><br>> > > > > > > > Regards<br>> > > > > > > > Abhishek<br>> > > > > > > ><br>> > > > > > > >
<br>> > > > > > > > On 8/24/07, Gavin Henry < <a href="mailto:gavin.henry@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gavin.henry@gmail.com</a>> wrote:<br>
> > > > > > > > ><br>> > > > > > > > > Please see the official tracker in the Digium buglist:
<br>> > > > > > > > ><br>> > > > > > > > > <a href="http://bugs.digium.com/view.php?id=5768" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bugs.digium.com/view.php?id=5768
</a><br>> > > > > > > > >
<br>> > > > > > > > > Here are the schemas we did for OpenLDAP:<br>> > > > > > > > ><br>> > > > > > > > ><br>> > > > > > > >
<br>> > > > ><br>> > ><br>> <a href="http://bugs.digium.com/file_download.php?file_id=14842&type=bug" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bugs.digium.com/file_download.php?file_id=14842&type=bug
</a><br>> > > > > > > > >
<br>> > > > > > > ><br>> > > > ><br>> > ><br>> <a href="http://bugs.digium.com/file_download.php?file_id=14841&type=bug" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://bugs.digium.com/file_download.php?file_id=14841&type=bug
</a><br>> > > > > > > > ><br>> > > > > > > > > Also, for Novell eDirectory, see:<br>> > > > > > > > ><br>> > > > > > > > >
<br>> > > > ><br>> <a href="http://forge.voicerd.org/frs/?group_id=7&release_id=17" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://forge.voicerd.org/frs/?group_id=7&release_id=17
</a><br>> > > > > > > > ><br>> > > > > > > > > Gavin.
<br>> > > > > > > > ><br>> > > > > > > > > --<br>> > > > > > > > ><br>> > > <a href="http://www.suretecsystems.com/services/openldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.suretecsystems.com/services/openldap/</a><br>> > > > > > > > ><br>> > > > > > > > ><br>> _______________________________________________<br>> > > > > > > > > --Bandwidth and Colocation Provided by
<br>> > > <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>> > > > > > > > ><br>> > > > > > > > > asterisk-users mailing list
<br>> > > > > > > > > To UNSUBSCRIBE or update options visit:
<br>> > > > > > > > ><br>> > > > > > > ><br>> > > > ><br>> > ><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>> > > > > > > > ><br>> > > > > > > ><br>> > > > > > > ><br>> > > > > > > ><br>> _______________________________________________
<br>> > > > > > > > --Bandwidth and Colocation Provided by<br>> > > <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--
</a><br>> > > > > > > ><br>> > > > > > > > asterisk-users mailing list
<br>> > > > > > > > To UNSUBSCRIBE or update options visit:<br>> > > > > > > ><br>> > > > > > > ><br>> > > > ><br>> > ><br>>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> > > > > > > >
<br>> > > > > > ><br>> > > > > > >
<br>> > > > > > > --<br>> > > > > > ><br>> <a href="http://www.suretecsystems.com/services/openldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.suretecsystems.com/services/openldap/
</a><br>> > > > > > >
<br>> > > > > ><br>> > > > > ><br>> > > > > > --<br>> > > > > > <a href="http://www.suretecsystems.com/services/openldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.suretecsystems.com/services/openldap/
</a><br>> > > > > ><br>> > > > > > _______________________________________________<br>> > > > > > --Bandwidth and Colocation Provided by<br>> <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--</a><br>> > > > > ><br>> > > > > > asterisk-users mailing list<br>> > > > > > To UNSUBSCRIBE or update options visit:<br>> > > > > >
<br>> > > > ><br>> > ><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>> > > > > ><br>> > > > >
<br>> > > > ><br>> > > > > _______________________________________________<br>> > > > > --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--
</a><br>> > > > ><br>> > > > > asterisk-users mailing list<br>> > > > > To UNSUBSCRIBE or update options visit:<br>> > > > ><br>> > > > ><br>> > >
<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>> > > > >
<br>> > > ><br>> > > ><br>> > > > --
<br>> > > > <a href="http://www.suretecsystems.com/services/openldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.suretecsystems.com/services/openldap/</a><br>> > > >
<br>> > > > _______________________________________________
<br>> > > > --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>> > > >
<br>> > > > asterisk-users mailing list<br>> > > > To UNSUBSCRIBE or update options visit:
<br>> > > ><br>> > ><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>> > > ><br>> > ><br>> > >
<br>> > > _______________________________________________<br>> > > --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.api-digital.com--</a><br>> > ><br>> > > asterisk-users mailing list
<br>> > > To UNSUBSCRIBE or update options visit:<br>> > ><br>> > ><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>> > ><br>> ><br>> ><br>> > --<br>> > <a href="http://www.suretecsystems.com/services/openldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.suretecsystems.com/services/openldap/
</a><br>> ><br>> > _______________________________________________
<br>> > --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>> ><br>> > asterisk-users mailing list
<br>> > To UNSUBSCRIBE or update options visit:
<br>> ><br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
> ><br>><br>><br>> _______________________________________________
<br>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--</a><br>><br>> asterisk-users mailing list
<br>> To UNSUBSCRIBE or update options visit:<br>><br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br><br><br>
--<br><a href="http://www.suretecsystems.com/services/openldap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.suretecsystems.com/services/openldap/
</a><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.api-digital.com--
</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote>
</div><br><br clear="all"><br></span></div><span class="sg">-- <br><br> Alessandro R.
</span><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--
</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>