summaryrefslogtreecommitdiffstats
path: root/src/tests/auth/radiusd.conf
blob: 2d822e7a37b7f12b37c8b09a4236f84985facc53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
#  Minimal radiusd.conf for testing keywords
#

raddb		= raddb
testdir		= src/tests/auth

modconfdir = ${raddb}/mods-config

#  Only for testing!
#  Setting this on a production system is a BAD IDEA.
security {
	allow_vulnerable_openssl = yes
}

modules {
	$INCLUDE ${raddb}/mods-enabled/always

	$INCLUDE ${raddb}/mods-enabled/pap

	$INCLUDE ${raddb}/mods-enabled/chap

	$INCLUDE ${raddb}/mods-enabled/expr

	$INCLUDE ${raddb}/mods-enabled/digest
}

server default {
	authorize {
		update control {
			Cleartext-Password := 'hello'
		}

		#
		# Include the test file specified by the
		# KEYWORD environment variable.
		#
		$INCLUDE ${testdir}/$ENV{TESTDIR}

		digest
		chap
		pap
	}

	authenticate {
		digest
		pap
		chap
	}
}