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:
parent
bed487f6a3
commit
34c57c5629
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user