Hi <br><br>I want to authenticate the asterisk users from the LDAP directory server not from the sip.conf.<br>I tried to use the <a href="http://www.asterisk-ev.org/download/astirectory-1.2-0.3.tgz">astirectory-1.2</a> . But i am not able to&nbsp; configure it properly. If somebody 
<br>used it then please help. <br><br>In the res_ldap.conf file i made the following entries. I am using my normal username and password to connect my asterisk server to the LDAP server of my organization. Is some administrator login is requried to connect ?
<br><br clear="all">[general]<br>ldapuser=cn=chandan.mishra,dc=synapse,dc=com<br>ldaphost=<a href="ldap://192.168.0.16">ldap://192.168.0.16</a><br>ldappass=chandan123<br>ldapbasedn=dc=synapse,dc=com<br><br>After this the asterisk is not able to connect to the ldap database. And hence asterisk is not able to start.
<br><br>Its giving me following errors:<br>&nbsp; == Parsing '/etc/asterisk/res_ldap.conf': Found<br>Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:615 parse_config: LDAP RealTime: No database host found, using localhost via socket.
<br>Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:630 parse_config: LDAP RealTime Host: <a href="ldap://localhost">ldap://localhost</a><br>Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:631 parse_config: LDAP RealTime User: cn=
chandan.mishra,dc=synapse,dc=com<br>Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:632 parse_config: LDAP RealTime Base DN: dc=synapse,dc=com<br>Jan 17 23:38:09 ERROR[11207]: res_config_ldap.c:708 ldap_reconnect: LDAP failed to bind (host=
<a href="ldap://localhost">ldap://localhost</a>, user=cn=chandan.mishra,dc=synapse,dc=com Can't contact LDAP server 0)!<br>Jan 17 23:38:09 ERROR[11207]: res_config_ldap.c:708 ldap_reconnect: LDAP failed to bind (host=<a href="ldap://localhost">
ldap://localhost</a>, user=cn=chandan.mishra,dc=synapse,dc=com Can't contact LDAP server 1)!<br>Jan 17 23:38:09 ERROR[11207]: res_config_ldap.c:708 ldap_reconnect: LDAP failed to bind (host=<a href="ldap://localhost">ldap://localhost
</a>, user=cn=chandan.mishra,dc=synapse,dc=com Can't contact LDAP server 2)!<br>Jan 17 23:38:09 WARNING[11207]: res_config_ldap.c:539 load_module: LDAP RealTime: Couldn't establish connection. Check debug.<br><br><br>Thanks
<br><br>Chandan<br><br>