[cifs-protocol] Virtual List View with timestamps (syntax 2.5.5.11).

Douglas Bagnall douglas.bagnall at catalyst.net.nz
Mon Mar 14 23:23:28 UTC 2016


I wrote:
> hi Dochelp,
> 
> When I search Windows 2012R2 Active Directory with VLV, I get a strange
> result with "greater than or equal" queries on attributes with syntax
> 2.5.5.11 (for example msTSExpireDate4). If the search values is greater
> than any of the attribute values, AD returns values from the beginning
> of the sorted list rather than the empty list that it does for other
> syntaxes.
> 
> Supposing there are three user objects with msTSExpireDate4 set to
> '19000101010000.0Z', '19010101010000.0Z', and '19020101010000.0Z' (the
> years are incrementing).

Sorry, I can't reproduce this with just 3 objects. It occurs with 30
objects, but I was trying to simplify for the sake of communication
without actually testing the simplified version.

Douglas

> A VLV search with the following parameters:
> 
>    attr: msTSExpireDate4
>    before: 0
>    after: 0
>    greater than or equal: 19991231211234.0Z
> 
> returns ['19000101010000.0Z'] -- that is the first value. A similar
> search using an attribute with a different syntax will return an empty list.
> 
> I can't find any reference to this in the documentation, and it seems to
> differ from the RFCs. Does this behaviour have a purpose?
> 
> cheers,
> Douglas
> 
> _______________________________________________
> cifs-protocol mailing list
> cifs-protocol at lists.samba.org
> https://lists.samba.org/mailman/listinfo/cifs-protocol
> 




More information about the cifs-protocol mailing list