Don't really know. My knowledge scale on this one is 99 percent asterisk 1 percent LDAP.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Giuseppe Longo Sent: Wednesday, October 31, 2012 9:18 AM To: Asterisk 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 <[email protected]>: > This allows asterisk to open an LDAP connection. Have you reviewed > res_ldap.conf.sample in the configs folder? > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] 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 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 <[email protected]>: >> Based on my knowledge, the general section provides an interface to >> your LDAP server and the sipuser section sets up one static user. >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of >> Giuseppe Longo >> Sent: 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 >> >> [sipuser] >> name=cn >> type=friend >> context=default >> host=dynamic >> secret=AstAccountSecret >> canreinvite=yes >> directrtpsetup=no >> call-limit=3 >> nat=yes >> qualify=yes >> register=no >> session-timers=accept >> session-expires=60 >> session-minse=120 >> session-refresher=uac >> register => sipuser:xxx@xxx/sipuser >> defaultip=192.168.23.107 >> disallow=all >> allow=gsm >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> 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 -- >> New to Asterisk? Join us for a live introductory webinar every Thurs: >> http://www.asterisk.org/hello >> >> 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 -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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 -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello 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 -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
