summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/pap/pbkfd2_salt_small.unlang
blob: e46982f0eea4ea2d2f541cf7f43dcbf1a4756107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if ("${feature.tls}" == no) {
	test_pass
	return
}

if (&User-Name == 'pbkdf2_salt_small') {
	update control {
		&PBKDF2-Password := 'HMACSHA2+256:AAAAAQ:E+VXOSsE8RwyYGdygQoW9Q=:UivlvrwHML4VtZHMJLiT/xlH7oyoyvbXQceivptq9TI='
	}
	pap.authorize
	pap.authenticate
	if (!ok) {
		test_fail
	} else {
		test_pass
	}
}