From 217d24060890986d38848e0a9fd68ae6e7d1727f Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 21 Mar 2011 13:33:22 +0100 Subject: 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. --- lib/examples/client.conf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/examples/client.conf (limited to 'lib/examples/client.conf') 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" + } +} -- cgit v1.1