Error: On adding entry to LDAP: Object not found
If this error comes then you probably are missing the correct configuration of your LDAP server.
check out if your machine is in the correct Domain.
Solution: Go to My computer->Properties
Select tab cOMPUTER name and check whether the Domain is specified or not.
Select change and specify the Domain name say mydomain.com instead of Workgroup.
Make sure your Computer name is specified.So check the full computer name which should be
Them specify in your LDAP slapd.conf file domain component dc=com.