HOW-TO for Linux radius client

Alan DeKok aland at deployingradius.com
Wed Sep 6 19:24:14 CEST 2006


Nicolas Baradakis <nbk at sitadelle.com> wrote:
> My tests indicate that you need to implement only 2 functions to get login,
> xdm, ssh, etc. working on the client machines.
> 
> enum nss_status _nss_radius_getpwnam_r(const char *name, struct passwd *result, char *buffer, size_t buflen);
> enum nss_status _nss_radius_getpwuid_r(uid_t uid, struct passwd *result, char *buffer, size_t buflen);

  I took a look at doing this a few years ago, and got lost in the
morass of glibc internals.

  Apparently PAM can do UID/GID/etc mappings, too, but it's not
documented.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list