Skip to content

Commit

Permalink
add IPv6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
miquels committed Mar 20, 2017
1 parent a581c21 commit de3a47e
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 132 deletions.
11 changes: 7 additions & 4 deletions pam_radius_auth.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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.
#
Expand Down

3 comments on commit de3a47e

@HolyRoses
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This particular commit doesn't work on solaris 10. It compiles and we connect but nothing happens after an rsa token is passed. Build prior to this commit works fine.

@alandekok
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, I don't have access to Solaris in order to debug the issue. Some additional information would help find and fix this problem.

@HolyRoses
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened an issue instead against master build. This build right here doesn't work so i assume the issue started with this build, but I am not an expert in such matters so maybe better to troubleshoot from master.

Please sign in to comment.