directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark D <temp1...@debusschere.com>
Subject Re: Suggestions for troubleshooting filters.
Date Wed, 05 Mar 2014 19:38:36 GMT
Should this relatively simple filter (uid=*) return everything with a 'uid' attribute ?
In ApacheDS it only displays one record.  It doesn't show DNs expected in
another partition.  I tried setting base search to the other partition and it returns nothing.

I don't fully understand the cursor references below.  I thought cursor would hold
matching references.

I deleted some of the IndexEntries below so email wouldn't be so long.

------------

[11:03:55] DEBUG [org.apache.directory.server.ldap.handlers.request.SearchRequestHandler]
- Handling single reply request: MessageType : SEARCH_REQUEST
Message ID : 25
    SearchRequest
        baseDn : ''
        filter : '(uid=*)'
        scope : whole subtree
        typesOnly : false
        Size Limit : 5000
        Time Limit : no limit
        Deref Aliases : deref Always
        attributes : 'objectClass'
org.apache.directory.api.ldap.model.message.SearchRequestImpl@802e3cd2
[11:03:55] DEBUG [org.apache.directory.server.ldap.handlers.request.SearchRequestHandler]
- ManageDsaITControl NOT detected.
[11:03:55] DEBUG [org.apache.directory.server.ldap.handlers.request.SearchRequestHandler]
- Entry  is NOT a referral.
[11:03:55] DEBUG [org.apache.directory.server.ldap.handlers.request.SearchRequestHandler]
- Message received:  MessageType : SEARCH_REQUEST
Message ID : 25
    SearchRequest
        baseDn : ''
        filter : '(uid=*)'
        scope : whole subtree
        typesOnly : false
        Size Limit : 5000
        Time Limit : no limit
        Deref Aliases : deref Always
        attributes : 'objectClass'
org.apache.directory.api.ldap.model.message.SearchRequestImpl@802e3cd2
[11:03:55] DEBUG [org.apache.directory.server.OPERATION_LOG] - >> SearchOperation :
SearchContext for Dn '', filter :'(uid=*)'
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating AvlSingletonOrOrderedSetCursor
org.apache.directory.server.core.avltree.AvlSingletonOrOrderedSetCursor@52f6c35f
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating AvlTreeMapNoDupsWrapperCursor
org.apache.directory.server.core.avltree.AvlTreeMapNoDupsWrapperCursor@4694bc86
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating IndexCursorAdaptor IndexCursorAdaptor
(absent) :
    
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor SetCursor :
    Index : -1

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating EntryCursorAdaptor EntryCursorAdaptor

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating BaseEntryFilteringCursor BaseEntryFilteringCursor,
no wrapped
No filter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor SetCursor :
    Index : -1

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating EntryCursorAdaptor EntryCursorAdaptor

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating BaseEntryFilteringCursor BaseEntryFilteringCursor,
no wrapped
No filter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor SetCursor :
    Index : -1

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating EntryCursorAdaptor EntryCursorAdaptor

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating BaseEntryFilteringCursor BaseEntryFilteringCursor,
no wrapped
No filter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor SetCursor :
    Index : -1

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating EntryCursorAdaptor EntryCursorAdaptor

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating BaseEntryFilteringCursor BaseEntryFilteringCursor,
no wrapped
No filter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating ArrayTreeCursor ArrayTreeCursor
(absent)
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating KeyTupleArrayCursor KeyTupleArrayCursor
(absent)#0.9.2342.19200300.100.1.1 :
    ArrayTreeCursor (absent)
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating IndexCursorAdaptor IndexCursorAdaptor
(absent) :
    KeyTupleArrayCursor (absent)#0.9.2342.19200300.100.1.1 :
        ArrayTreeCursor (absent)
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing IndexCursorAdaptor IndexCursorAdaptor
(absent) :
    KeyTupleArrayCursor (absent)#0.9.2342.19200300.100.1.1 :
        ArrayTreeCursor (absent)
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing KeyTupleArrayCursor KeyTupleArrayCursor
(absent)#0.9.2342.19200300.100.1.1 :
    ArrayTreeCursor (absent)
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ArrayTreeCursor ArrayTreeCursor
(absent)
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor SetCursor :
    Index : -1

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating EntryCursorAdaptor EntryCursorAdaptor

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating BaseEntryFilteringCursor BaseEntryFilteringCursor,
no wrapped
No filter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating AvlSingletonOrOrderedSetCursor
org.apache.directory.server.core.avltree.AvlSingletonOrOrderedSetCursor@4ee5259d
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating AvlTreeMapNoDupsWrapperCursor
org.apache.directory.server.core.avltree.AvlTreeMapNoDupsWrapperCursor@26088ee2
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating IndexCursorAdaptor IndexCursorAdaptor
(absent) :
    
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating SetCursor SetCursor :
    Index : -1

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating EntryCursorAdaptor EntryCursorAdaptor

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating BaseEntryFilteringCursor BaseEntryFilteringCursor,
no wrapped
No filter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Creating CursorList org.apache.directory.server.core.api.filtering.CursorList@7bdcaaef
[11:03:55] DEBUG [org.apache.directory.server.OPERATION_LOG] - << SearchOperation successful
[11:03:55] DEBUG [org.apache.directory.server.ldap.handlers.request.SearchRequestHandler]
- using <5000,5000> for size limit
[11:03:55] DEBUG [org.apache.directory.server.ldap.handlers.request.SearchRequestHandler]
- Sending uid=admin,ou=system
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing CursorList org.apache.directory.server.core.api.filtering.CursorList@7bdcaaef
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing CursorList org.apache.directory.server.core.api.filtering.CursorList@7bdcaaef
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing BaseEntryFilteringCursor BaseEntryFilteringCursor,
wrapped : 
    EntryCursorAdaptor
        IndexCursor : 
            SetCursor :
                Index : 118
                Size : 118
                IndexEntry[ c09b3b91-dd9a-46b6-965c-678c3e6ad7eb, c09b3b91-dd9a-46b6-965c-678c3e6ad7eb
]
                IndexEntry[ 2cb2d861-e84d-40f3-94b3-3a16ba5de0bc, 2cb2d861-e84d-40f3-94b3-3a16ba5de0bc
]
                deleted ....
                IndexEntry[ c6136964-a7d7-4d41-93bd-ea700bf3e21f, c6136964-a7d7-4d41-93bd-ea700bf3e21f
]
        Evaluator : 
            AndEvaluator : (&:[118](uid=*:[?])(#{SUBTREE_SCOPE (Estimated), 'ou=config',
DEREF_ALWAYS}:[118]))
                SubstreeScopeEvaluator : (#{SUBTREE_SCOPE (Estimated), 'ou=config', DEREF_ALWAYS}:[118])
                PresenceEvaluator : (uid=*:[?])

Filters : 
    HideSubentriesFilter
    CollectiveAttributeFilter
    TopFilter
    DefaultAuthorizationSearchFilter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing EntryCursorAdaptor EntryCursorAdaptor
    IndexCursor : 
        SetCursor :
            Index : 118
            Size : 118
            IndexEntry[ c09b3b91-dd9a-46b6-965c-678c3e6ad7eb, c09b3b91-dd9a-46b6-965c-678c3e6ad7eb
]
            IndexEntry[ 2cb2d861-e84d-40f3-94b3-3a16ba5de0bc, 2cb2d861-e84d-40f3-94b3-3a16ba5de0bc
]
            deleted...
            IndexEntry[ c6136964-a7d7-4d41-93bd-ea700bf3e21f, c6136964-a7d7-4d41-93bd-ea700bf3e21f
]
    Evaluator : 
        AndEvaluator : (&:[118](uid=*:[?])(#{SUBTREE_SCOPE (Estimated), 'ou=config', DEREF_ALWAYS}:[118]))
            SubstreeScopeEvaluator : (#{SUBTREE_SCOPE (Estimated), 'ou=config', DEREF_ALWAYS}:[118])
            PresenceEvaluator : (uid=*:[?])


[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ListCursor SetCursor :
    Index : 118
    Size : 118
    IndexEntry[ c09b3b91-dd9a-46b6-965c-678c3e6ad7eb, c09b3b91-dd9a-46b6-965c-678c3e6ad7eb
]
    IndexEntry[ 2cb2d861-e84d-40f3-94b3-3a16ba5de0bc, 2cb2d861-e84d-40f3-94b3-3a16ba5de0bc
]
    deleted...
    IndexEntry[ c6136964-a7d7-4d41-93bd-ea700bf3e21f, c6136964-a7d7-4d41-93bd-ea700bf3e21f
]

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing BaseEntryFilteringCursor BaseEntryFilteringCursor,
wrapped : 
    EntryCursorAdaptor
        IndexCursor : 
            SetCursor :
                Index : 0
        Evaluator : 
            EmptyEvaluator
Filters : 
    HideSubentriesFilter
    CollectiveAttributeFilter
    TopFilter
    DefaultAuthorizationSearchFilter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing EntryCursorAdaptor EntryCursorAdaptor
    IndexCursor : 
        SetCursor :
            Index : 0
    Evaluator : 
        EmptyEvaluator

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ListCursor SetCursor :
    Index : 0

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing BaseEntryFilteringCursor BaseEntryFilteringCursor,
wrapped : 
    EntryCursorAdaptor
        IndexCursor : 
            SetCursor :
                Index : 0
        Evaluator : 
            EmptyEvaluator
Filters : 
    HideSubentriesFilter
    CollectiveAttributeFilter
    TopFilter
    DefaultAuthorizationSearchFilter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing EntryCursorAdaptor EntryCursorAdaptor
    IndexCursor : 
        SetCursor :
            Index : 0
    Evaluator : 
        EmptyEvaluator

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ListCursor SetCursor :
    Index : 0

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing BaseEntryFilteringCursor BaseEntryFilteringCursor,
wrapped : 
    EntryCursorAdaptor
        IndexCursor : 
            SetCursor :
                Index : 0
        Evaluator : 
            EmptyEvaluator
Filters : 
    HideSubentriesFilter
    CollectiveAttributeFilter
    TopFilter
    DefaultAuthorizationSearchFilter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing EntryCursorAdaptor EntryCursorAdaptor
    IndexCursor : 
        SetCursor :
            Index : 0
    Evaluator : 
        EmptyEvaluator

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ListCursor SetCursor :
    Index : 0

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing BaseEntryFilteringCursor BaseEntryFilteringCursor,
wrapped : 
    EntryCursorAdaptor
        IndexCursor : 
            SetCursor :
                Index : 1
                Size : 1
                IndexEntry[ null, ad49747a-0491-418f-b6d7-97b331755c93 ]
        Evaluator : 
            AndEvaluator : (&:[1](uid=*:[?])(#{SUBTREE_SCOPE (Estimated), 'ou=system',
DEREF_ALWAYS}))
                PresenceEvaluator : (uid=*:[?])
                SubstreeScopeEvaluator : (#{SUBTREE_SCOPE (Estimated), 'ou=system', DEREF_ALWAYS})

Filters : 
    HideSubentriesFilter
    CollectiveAttributeFilter
    TopFilter
    DefaultAuthorizationSearchFilter
No prefetched
[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing EntryCursorAdaptor EntryCursorAdaptor
    IndexCursor : 
        SetCursor :
            Index : 1
            Size : 1
            IndexEntry[ null, ad49747a-0491-418f-b6d7-97b331755c93 ]
    Evaluator : 
        AndEvaluator : (&:[1](uid=*:[?])(#{SUBTREE_SCOPE (Estimated), 'ou=system', DEREF_ALWAYS}))
            PresenceEvaluator : (uid=*:[?])
            SubstreeScopeEvaluator : (#{SUBTREE_SCOPE (Estimated), 'ou=system', DEREF_ALWAYS})


[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ListCursor SetCursor :
    Index : 1
    Size : 1
    IndexEntry[ null, ad49747a-0491-418f-b6d7-97b331755c93 ]

[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing BaseEntryFilteringCursor BaseEntryFilteringCursor,
wrapped : 
    EntryCursorAdaptor
        IndexCursor : 
            SetCursor :
                Index : 2612
                Size : 2612
                IndexEntry[ b232606f-3e28-4c98-9a57-20ee4b3c10ea, b232606f-3e28-4c98-9a57-20ee4b3c10ea
]
                IndexEntry[ 7beb799c-668f-4972-b805-c7ba0786044f, 7beb799c-668f-4972-b805-c7ba0786044f
]
                deleted
            IndexEntry[ 98e7f648-d9f9-46fb-8bbd-3b827b657124, 98e7f648-d9f9-46fb-8bbd-3b827b657124
]
    Evaluator : 
        AndEvaluator : (&:[2612](uid=*:[?])(#{SUBTREE_SCOPE (Estimated), 'ou=schema',
DEREF_ALWAYS}:[2612]))
            SubstreeScopeEvaluator : (#{SUBTREE_SCOPE (Estimated), 'ou=schema', DEREF_ALWAYS}:[2612])
            PresenceEvaluator : (uid=*:[?])


[11:03:55] DEBUG [org.apache.directory.CURSOR_LOG] - Closing ListCursor SetCursor :
    Index : 2612
    Size : 2612
    IndexEntry[ b232606f-3e28-4c98-9a57-20ee4b3c10ea, b232606f-3e28-4c98-9a57-20ee4b3c10ea
]
    IndexEntry[ 7beb799c-668f-4972-b805-c7ba0786044f, 7beb799c-668f-4972-b805-c7ba0786044f
]
    deleted.
    IndexEntry[ 98e7f648-d9f9-46fb-8bbd-3b827b657124, 98e7f648-d9f9-46fb-8bbd-3b827b657124
]




Mime
View raw message