On Thu, Nov 14, 2013 at 2:41 AM, Tony Zhou <tonytzhou at gmail.com> wrote: > Hi, > I am trying to set ocserv up for RADIUS, and I am happy to find out that > ocserv supports PAM, so I wrote a /etc/pam.d/ocserv like this: > auth required /lib/security/pam_radius_auth.so > ...But unfortunately it seems ocserv does not like this. What file does it > read? ocserv is the pam name. However, I'd suggest to do the following: 1. try a simple PAM module (e.g. unix passwords). Does it work? If not send the debugging output of ocserv. 2. If (1) works try with pam_radius_auth. Do it now work? If not send the debugging output of ocserv. regards, Nikos