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

problems with the scope of a search



Hello List,
 
I got a problem with a search of different scope.
I got the following structure:
 
+
++++ dc=example, dc=com
         +
         ++++ ou=07
         +       +
         +       ++++ cn=person1
         +       +
         +       ++++ cn=person2
         +       +
         +       ++++ cn=person3
         +
         ++++ ou=08
 
If I do a search of the the form
 
  ldapsearch -x -b"ou=07, dc=example, dc=com" -s one "(cn=person*)"
 
I get the entries for person1, person2 and person3, but if I do a search of the form
 
  ldapsearch -x -b"ou=07, dc=example, dc=com" -s sub "(cn=person*)"
 
I only get the entries for person1 and person3.
 
Access Control is set to
 
  access to * by * write
 
Any idea ???