summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/pap/pbkfd2_iter1.unlang
blob: 6758c9b5956907a43854fa7a9228d3fb26006390 (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_iter1') {
	update control {
		&PBKDF2-Password := 'HMACSHA2+256:AAAAAQ:OErtptMl2hOxhQqvNw7sNw==:4KkrgL+3Q9j8KlHPivtApBKRZAjyWjtDWmZEz2UjNko='
	}
	pap.authorize
	pap.authenticate
	if (!ok) {
		test_fail
	} else {
		test_pass
	}
}