Re: [asterisk-users] Asterisk and OpenLDAP

2012-11-01 Thread Olle E. Johansson
31 okt 2012 kl. 15:07 skrev Giuseppe Longo giuseppe...@gmail.com: I don't want update Asterisk configuration, i want to query LDAP only for name and secret field. Currently Asterisk can't do that. If you add Kamailio as a proxy in front of Asterisk, you can easily authenticate with LDAP

[asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Giuseppe Longo
Hello guys, i would like to implement authentication for my sip extension with an openldap server. Following this guide http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/ExternalServices_id291590.html i see a template named [sip] to map the information of sip peers into ldap.

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Danny Nicholas
...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Giuseppe Longo Sent: Wednesday, October 31, 2012 8:33 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk and OpenLDAP Hello guys, i would like to implement authentication

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Giuseppe Longo
. -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Giuseppe Longo Sent: Wednesday, October 31, 2012 8:33 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Asterisk and OpenLDAP

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Danny Nicholas
-Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Giuseppe Longo Sent: Wednesday, October 31, 2012 8:47 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Giuseppe Longo
31, 2012 8:47 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk and OpenLDAP 2012/10/31 Danny Nicholas da...@debsinc.com: You just need a program(C, PHP, Perl) to query LDAP and update SIP. The example you list requires realtime, but if you

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Danny Nicholas
AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk and OpenLDAP With this configuration, the peer doesn't authenticate with ldap, right? 2012/10/31 Danny Nicholas da...@debsinc.com: -Original Message- From: asterisk-users-boun

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Danny Nicholas
: Wednesday, October 31, 2012 9:02 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk and OpenLDAP This configuration is wrong? [_general] url=ldap://172.16.0.103:389 protocol=3 basedn=dc=shifteight,dc=org user=cn=admin,dc=shifteight,dc=org pass=canada

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Giuseppe Longo
I don't want update Asterisk configuration, i want to query LDAP only for name and secret field. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Giuseppe Longo
-users] Asterisk and OpenLDAP This configuration is wrong? [_general] url=ldap://172.16.0.103:389 protocol=3 basedn=dc=shifteight,dc=org user=cn=admin,dc=shifteight,dc=org pass=canada [sipuser] name=cn type=friend context=default host=dynamic secret=AstAccountSecret canreinvite=yes

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Danny Nicholas
:14 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk and OpenLDAP I don't understand why in [_general] section of res_ldap.conf i need to put user and pass when i want to authenticate my extensions. 2012/10/31 Danny Nicholas da...@debsinc.com

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Giuseppe Longo
: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Giuseppe Longo Sent: Wednesday, October 31, 2012 9:14 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk and OpenLDAP I don't understand why

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Danny Nicholas
Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk and OpenLDAP Yes, but i think that's better to open an LDAP connection with extensions user and password. Or not? 2012/10/31 Danny Nicholas da...@debsinc.com: This allows asterisk to open an LDAP connection. Have

Re: [asterisk-users] Asterisk and OpenLDAP

2012-10-31 Thread Dan Austin
Giuseppe wrote: Yes, but i think that's better to open an LDAP connection with extensions user and password. Or not? Better is not the right way to look at it. You questions is about early or late binding. Early binding requires a dedicated username and password to connect to LDAP before it