summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/pap/pbkfd2_sha2_384.unlang
blob: 034bb83193301ee643cc61c1804acd3a18a418f6 (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_sha2_384') {
	update control {
		&PBKDF2-Password := 'HMACSHA2+384:AAAnEA:pyHRsYLfNZdjszRcu6eHrA==:ktGfNmZ6PyD8FNEgPzFK1fypKERZ13pgvFl+PQdyKouaMXsXIiWPuTMXHqDUCWsx'
	}
	pap.authorize
	pap.authenticate
	if (!ok) {
		test_fail
	} else {
		test_pass
	}
}