1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r8010: added testing of wildcard attributes

(This used to be commit 25d3872a6e)
This commit is contained in:
Andrew Tridgell 2005-06-30 03:56:55 +00:00 committed by Gerald (Jerry) Carter
parent bed487f6a3
commit 34c57c5629

View File

@ -74,5 +74,25 @@ EOF
checkcount 1 '(i=0x100)'
checkcount 1 '(i=256)'
echo "adding j"
cat <<EOF | bin/ldbmodify || exit 1
dn: cn=t1,cn=TEST
changetype: modify
add: j
j: 0x100
EOF
checkcount 1 '(i=0x100)'
checkcount 0 '(i=256)'
echo "Adding wildcard attribute"
echo "marking i as INTEGER"
cat <<EOF | bin/ldbmodify || exit 1
dn: @ATTRIBUTES
changetype: modify
add: *
*: INTEGER
EOF
checkcount 1 '(i=0x100)'
checkcount 1 '(i=256)'
rm -f $LDB_URL