summaryrefslogtreecommitdiffstats
path: root/src/tests/modules/pap/pbkfd2_sha1.unlang
blob: 5b796919dea07e333c35a12d0e7a656d58091761 (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_sha1') {
	update control {
		&PBKDF2-Password := 'HMACSHA1:AAAD6A:Xw1P133xrwk=:dtQBXQRiR/No5A8Ip3JFGF/qUC0='
	}
	pap.authorize
	pap.authenticate
	if (!ok) {
		test_fail
	} else {
		test_pass
	}
}