Hi,<br><br>I am currently trying to use LDAP authorization for my opensips server. I have setup an LDAP server using openldap in the same machine. <br><br>I created an ldap config file and set the <br>ldap_server_url = ip-address of teh machine:389<br>
<br>Now when I try to authorize using LDAP. I get the following error message <br><br>Aug 20 12:48:17 localhost /usr/local/sbin/opensips[4229]: ERROR:ldap:ldap_connect: [sipaccounts]: ldap_initialize (<a href="http://10.100.104.28:389">10.100.104.28:389</a>) failed: Bad parameter to an ldap routine<br>
Aug 20 12:48:17 localhost /usr/local/sbin/opensips[4229]: ERROR:ldap:child_init: [sipaccounts]: failed to connect to LDAP host(s)<br>Aug 20 12:48:17 localhost /usr/local/sbin/opensips[4229]: ERROR:core:init_mod_child: failed to initializing module ldap, rank 2<br>
<br>followed by more error messages similar to this.<br><br>Could anyone guide me on what I could have done wrong?<br><br>This is my ldap.cfg file<br><br>[sipaccounts]<br>ldap_server_url = "<a href="http://127.0.0.1:389">127.0.0.1:389</a>"<br>
ldap_bind_dn = "cn=root, dc=example, dc=com"<br>ldap_bind_password = "root123"<br>ldap_network_timeout = 500<br>ldap_client_bind_timeout = 500<br><br>Thanks,<br>Harish<br>