[Date Prev][Date Next] [Chronological] [Thread] [Top]

search not working



hello everbody,

  i have tried to add an entry but the error the machine throws is that
the entry already exists.but when i try to search and find out the entry
it is unable to so.

it works in the following way:-

[root@yamuna /root]# ldapadd -f/temp/newentry -v -D
"cn=Manager,dc=pcquest,dc=com" -W -h 192.168.1.62 -p 389
Enter LDAP Password: 
add dc:
	pcquest
add objectclass:
	top
	organization
	dcobject
add description:
	this is my first entry
adding new entry dc=pcquest, dc=com
ldap_add: Already exists



[root@yamuna /root]# ldapsearch -D
"dc=pcquest,dc=com" "(objectclass=*)"  -h 192.168.1.62 -p 389 -W -v
ldap_init( 192.168.1.62, 389 )
Enter LDAP Password: 
filter pattern: (objectclass=*)
returning: ALL
filter is: ((objectclass=*))
ldap_search: No such object
0 matches

can anybody please help.

thank you in anticipation
bfn,
  ashish