Setting up pam_radius_auth

Alan DeKok aland at
Tue Jul 27 09:22:28 CEST 2010

Mike J wrote:
> It is a PPC module. However, since I was having problems with it I
> decided to install the PAM module for my x86 workstation (from the
> Ubuntu Hardy repository).  I'm getting the same results. The
> client/server talk to each other but the password doesn't seem to be
> decrypted when the auth request gets to the server.

  Then the shared secret is wrong.  The debug log shows this.

  Go fix the shared secret.
> I've also double checked how I was building the PPC PAM module. I'm
> using the provided makefile and setting up the compiler and linker to
> use the proper ppc build tools. Any ideas of where I could be going
> wrong when compiling it?

  Endian issues.  It's buried in the source...

> By the way, this is the entry in the top of my "users" file on my RADIUS
> server:
> testing Cleartext-Password := password
> Is the "Cleartext-Password" option okay with for authenticating PAM clients?

  Yes.  The RADIUS server looks at the contents of the packet, *not* the
source code of the client.

  Alan DeKok.

More information about the Freeradius-Users mailing list