blob: 6ed06e3fb5358347e1b7b95b509303bcea1a11f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#
# PRE: update if
#
update {
control:Cleartext-Password := 'hello'
reply:Filter-Id := 'filter'
}
#
# Paircmp
#
#
# Passing 'yes' causes the test paircmp to return match
# Passing 'no' causes the test paircmp to return a non-match
#
if (&Test-Paircmp != 'yes') {
update reply {
Filter-Id += 'fail 1'
}
}
if (&Test-Paircmp == 'no') {
update reply {
Filter-Id += 'fail 2'
}
}
|