summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-14 03:37:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:09 -0500
commit1491f9b6150f01ca3d20076962aa595f34c44aa4 (patch)
tree41ec45c2d6d7f3d0d55e196fa017fa03323f9897 /source4
parent81b4183e1c8f70f69b97a99265ee5020c207f9e4 (diff)
downloadsamba-1491f9b6150f01ca3d20076962aa595f34c44aa4.tar.gz
samba-1491f9b6150f01ca3d20076962aa595f34c44aa4.tar.bz2
samba-1491f9b6150f01ca3d20076962aa595f34c44aa4.zip
r7564: added a test showing the search expression that w2k is actually giving
us that triggered this work (This used to be commit 853b8cd72dbb8c50d527e66aa7b5692060b66d2b)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/tests/test-extended.sh19
1 files changed, 19 insertions, 0 deletions
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