<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jun 20, 2015 at 4:19 PM, Owais Ahmad <span dir="ltr"><<a href="mailto:millennium.bug@gmail.com" target="_blank">millennium.bug@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:trebuchet ms,sans-serif">Hello,<br><br></div><div style="font-family:trebuchet ms,sans-serif">Is there a definitive guide on how SIP peers could be authenticated using LDAP in asterisk 11 and up? <br><br>It seems <a href="https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver" target="_blank">https://wiki.asterisk.org/wiki/display/AST/LDAP+Realtime+Driver</a> is not updated as there are mis-matched parameters in the configuration samples and ldap schema files.<br><br></div><div style="font-family:trebuchet ms,sans-serif">This is because I get: <br><b>Command: </b><span style="font-family:monospace,monospace">sip show peer "1000" load</span><br><b>Output: </b><span style="font-family:monospace,monospace"><b>ERROR</b>: res_config_ldap.c:1389 update_ldap: Couldn't modify 'name'='1000', dn:cn=1000,ou=xxxxx,dc=xxxx,dc=xxxx because Invalid syntax</span><br></div><div style="font-family:trebuchet ms,sans-serif"><br></div><div style="font-family:trebuchet ms,sans-serif"></div><div style="font-family:trebuchet ms,sans-serif">Any hints?<br></div><div style="font-family:trebuchet ms,sans-serif"><br></div></div>
</blockquote></div><div class="gmail_extra"><br></div>In Chapter 18 of Asterisk the Definitive Guide there is a section on LDAP integration that might be helpful.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you find any errors in wiki documentation please comment on the wiki page or else file a bug report to let us know.<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><pre><span>Rusty Newton</span>
Digium, Inc. | <span>Community Support Manager</span>
<span>445 Jan Davis Drive NW</span> - <span>Huntsville, AL 35806</span> - <span>US</span>
<span>direct:</span> <span>+1 256 428 6200</span><span></span> <span></span>
<span>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></span></pre></div></div>
</div></div>