We can't really tell what's going on without seeing at least the relevant portions of your underlying database, preferrably in LDIF format. Your trouble is likely problems with the structure of your DIT and entries, and/or the ldapsearch command (you didn't explicitly tell it what scope to use, subtree is typically the default, but you might have compiled it with different default). Jeff