6 Sep
2006
6 Sep
'06
1:24 p.m.
Nicolas Baradakis <nbk@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