From 1491f9b6150f01ca3d20076962aa595f34c44aa4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 14 Jun 2005 03:37:43 +0000 Subject: r7564: added a test showing the search expression that w2k is actually giving us that triggered this work (This used to be commit 853b8cd72dbb8c50d527e66aa7b5692060b66d2b) --- source4/lib/ldb/tests/test-extended.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'source4') diff --git a/source4/lib/ldb/tests/test-extended.sh b/source4/lib/ldb/tests/test-extended.sh index 246b55f5b9..281ee00f9b 100755 --- a/source4/lib/ldb/tests/test-extended.sh +++ b/source4/lib/ldb/tests/test-extended.sh @@ -15,6 +15,22 @@ i1: 0x800000 dn: testrec3 i1: 0x101010101 i1: 7 + +dn: auser1 +groupType: 2147483648 +samAccountType: 805306368 + +dn: auser2 +groupType: 2147483648 +samAccountType: 805306369 + +dn: auser3 +groupType: 2147483649 +samAccountType: 805306370 + +dn: auser4 +groupType: 2147483649 +samAccountType: 805306369 EOF checkcount() { @@ -46,4 +62,7 @@ checkcount 2 '(i1:1.2.840.113556.1.4.804:=15)' checkcount 1 '(i1:1.2.840.113556.1.4.804:=0x800000)' checkcount 1 '(i1:1.2.840.113556.1.4.804:=8388608)' +# this is one that w2k gives +checkcount 3 '(|(|(&(!(groupType:1.2.840.113556.1.4.803=1))(groupType:1.2.840.113556.1.4.803=2147483648)(groupType:1.2.840.113556.1.4.804=10))(samAccountType=805306368))(samAccountType=805306369))' + rm -f $LDB_URL -- cgit