From the results below it looks like your server is not even coming up. This would explain why you are not able to search or add entries. Next thing to look at is to see if you are getting any useful information in the slapd.log. This should be in /var/log/slapd.log. If you don’t know where it is located then try using the locate command I think ubuntu should have that or something equivalent.
If you don’t find one then you might need to enable the log in /etc/syslog.conf.
I use RH so I assume something similar is available on ubuntu.
I added the list back to the CC so others that might know more about ubuntu specifics can help and so they can assist you as well.
From: Donny George
On Wed, Nov 19, 2008 at 10:16 AM,
Have you on the server side verified that LDAP is up and listening on the proper port?
ps –eaf | grep slapd
netstat -na | grep 389
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN
If the above come back and indicate it is up and listening see if you can telnet to the <ip> 389 and get something back.
Also you could check to see if you are getting errors on server startup by checking the slapd.log on the server side and see if it is reporting any errors.
If you are using the command line search are you specifying the remote server using the –h option?
Most of the errors seem to indicate there is nothing listening on the server to handle the search request.
openldap-technical-bounces+kris.burton=acision.com@OpenLDAP.org [mailto:openldap-technical-bounces+kris.burton=acision.com@OpenLDAP.org] On Behalf Of Donny George
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.