If start sevice using
[root@devserv shreedhar]# /usr/local/libexec/slapd -f /usr/local/etc/openldap/s
lapd.conf
I could able found that the server entry ps list.
if run add comman using
[root@devserv shreedhar]# /usr/local/bin/ldapadd -d 255 -D "o=stixen.co.uk,c=uk
" -x -w secret -f /home/shreedhar/ldap/Test2.ldif
i am getting the follwing errors
ldap_create
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP localhost:389
ldap_new_socket: 4
ldap_prepare_socket: 4
ldap_connect_to_host: Trying 127.0.0.1:389
ldap_connect_timeout: fd: 4 tm: -1 async: 0
ldap_ndelay_on: 4
ldap_is_sock_ready: 4
ldap_is_socket_ready: error on socket 4: errno: 111 (Connection refused)
ldap_close_socket: 4
ldap_perror
ldap_bind: Can't contact LDAP server (81)
May know what's the reason.
Sreedhar