summaryrefslogtreecommitdiff
path: root/pam_radius_auth.conf
diff options
context:
space:
mode:
authorMiquel van Smoorenburg <mikevs@xs4all.net>2017-03-17 00:36:08 +0100
committerMiquel van Smoorenburg <mikevs@xs4all.net>2017-03-21 00:42:33 +0100
commitde3a47e7275d7078c0b089a964ed0f3dd186af72 (patch)
treef9d575bfab62047823289cc8b0bdffa7a6d5244c /pam_radius_auth.conf
parenta581c2149d1218b11a6a0b8a25ceec78b0a1db08 (diff)
downloadlibpam-radius-auth-de3a47e7275d7078c0b089a964ed0f3dd186af72.tar.gz
libpam-radius-auth-de3a47e7275d7078c0b089a964ed0f3dd186af72.zip
add IPv6 support
Diffstat (limited to 'pam_radius_auth.conf')
-rw-r--r--pam_radius_auth.conf11
1 files changed, 7 insertions, 4 deletions
diff --git a/pam_radius_auth.conf b/pam_radius_auth.conf
index 576f1f3..2fe1f34 100644
--- a/pam_radius_auth.conf
+++ b/pam_radius_auth.conf
@@ -14,6 +14,9 @@
# "radius", and is looked up from /etc/services The timeout field is
# optional. The default timeout is 3 seconds.
#
+# For IPv6 literal addresses, the address has to be surrounded by
+# square brackets as usual. E.g. [2001:0db8:85a3::4].
+#
# If multiple RADIUS server lines exist, they are tried in order. The
# first server to return success or failure causes the module to return
# success or failure. Only if a server fails to response is it skipped,
@@ -22,10 +25,10 @@
# The timeout field controls how many seconds the module waits before
# deciding that the server has failed to respond.
#
-# server[:port] shared_secret timeout (s)
-127.0.0.1 secret 1
-other-server other-secret 3
-
+# server[:port] shared_secret timeout (s)
+127.0.0.1 secret 1
+other-server other-secret 3
+[2001:0db8:85a3::4]:1812 other6-secret 1
#
# having localhost in your radius configuration is a Good Thing.
#