diff options
author | Linus Nordberg <linus@nordu.net> | 2011-03-21 13:33:22 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-03-21 13:33:22 +0100 |
commit | 217d24060890986d38848e0a9fd68ae6e7d1727f (patch) | |
tree | c198d491ae8d4da1965dd295d56e9d84eeee12e1 /lib/examples/client.conf | |
parent | ab01223c4583cb5da93046b05baddc75a3b27bc8 (diff) |
API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.
Use rs_context_create() to read FreeRADIUS dictionary, possibly by
taking dict file from configuration file.
CONFIG CHANGE: s/config/realm/g.
Diffstat (limited to 'lib/examples/client.conf')
-rw-r--r-- | lib/examples/client.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/examples/client.conf b/lib/examples/client.conf new file mode 100644 index 0000000..c9500e8 --- /dev/null +++ b/lib/examples/client.conf @@ -0,0 +1,27 @@ +dictionary = "/usr/share/freeradius/dictionary" + +realm blocking-udp { + type = "UDP" + timeout = 2 + retries = 2 + server { + hostname = "127.0.0.1" + service = "1820" + secret = "sikrit" + } +} + +realm blocking-tls { + type = "TLS" + timeout = 1 + retries = 3 + cacertfile = "/home/linus/nordberg-ca.crt" + #cacertfile = "/home/linus/p/moonshot/demoCA/cacert.pem" + certfile = "/home/linus/p/moonshot/radsecproxy-test.crt" + certkeyfile = "/home/linus/p/moonshot/radsecproxy-test.key" + server { + hostname = "localhost" + service = "2083" + secret = "sikrit" + } +} |