hello all
i am a beginner with openldap and installed a server and a client with ldap(both machines ubuntu 8.04)
but once i tried to populate the database at the server it gave the error that it couldnt contact the server. i cudnt connect to the server frmo the client either.
i ran the command ldapsearch -d 255 to debug and heres the result
ldap_create ldap_pvt_sasl_getmech ldap_search put_filter: "(objectclass=*)" put_filter: simple put_simple_filter: "objectclass=*" ldap_build_search_req ATTRS: supportedSASLMechanisms ldap_send_initial_request ldap_new_connection 1 1 0 ldap_int_open_connection ldap_connect_to_host: TCP 10.4.139.5:389 ldap_new_socket: 3 ldap_prepare_socket: 3 ldap_connect_to_host: Trying 10.4.139.5:389 ldap_pvt_connect: fd: 3 tm: -1 async: 0 ldap_close_socket: 3 ldap_err2string ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
and if i run ldapsearch -x it gives the message
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
please someone help, i dont know where i cud start to solve this error.