summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-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