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

if (&User-Name == 'pbkdf2_salt0') {
	update control {
		&PBKDF2-Password := 'HMACSHA2+256:AAAnEA::4RJEKVFQ5nE8126aURI0cJO9tqy/DIAhq64piBEwshA='
	}
	pap.authorize
	pap.authenticate {
		invalid = 1
	}
	if (invalid) {
		test_pass
	} else {
		test_fail
	}
}