Claude
i have tried what you have said:
<SNIP>
ldapsearch -x -b 'dc=sib,dc=fr'
'(objectclass=*)'
give me only the new entrees in my
directory (the entrees I've created today) whereas a more precise request such
as
ldapsearch -x -b 'dc=sib,dc=fr'
'(objectclass=person)'
give me all the entrees concerned (old and new
)....
</SNIP>
And when look at the
below output you can see i get different results. As far as i am aware (and i
built the directory) every entry apart from the ou's for departments and offices
should come under the object class of person.
Looking at the
results i have:
1 root entry,
the head of my ldap database
a collection of 21
departments/offices, which are distributed through out the
tree.
41 person objects in
the entire tree
so when looking at
objectclass=* i should indeed have 41 person objectclasses + 21
departments/offices + 1 root entry. which would equal 63 entries in the
database. On the query of * i have 63 entries.
when look at
objectclass=Person i should have 41 entries and i think 42 responses... as there
is a line of talk at the beginning!
I don't
understand how your ldapsearch query would be able to differentiate between
entries created today and yesterday and you have not queried any sort of date
objectclass or attribute!
maybe one of those funny features. Have you tried to restart
the slapd daemon it may have got a bit confused. I have had ldap do that to me
before!
ldapsearch -x -b
'o=emsgroup,dc=co,dc=uk' '(objectclass=*)' | grep
'#' # # filter: (objectclass=*)
# requesting: ALL # # emsgroup, co, uk # <---(Names removed)---> # search result # numResponses: 64 # numEntries: 63 ldapsearch -x -b
'o=emsgroup,dc=co,dc=uk' '(objectclass=Person)' | grep '#'
# # filter: (objectclass=Person) # requesting: ALL # # <---(Names removed)---> # search result # numResponses: 42 # numEntries: 41
|