LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Issues with NIS and netgroups (https://www.linuxquestions.org/questions/debian-26/issues-with-nis-and-netgroups-373957/)

Wells 10-17-2005 11:16 AM

Issues with NIS and netgroups
 
First of all, the problem:

With libc6 version 2.3.5-6, a problem has arisen in which if you are using NIS with netgroups, and restrict the logons of people to specific netgroups, i.e. putting the following in /etc/passwd:

+@leonard::::::

If you try to login as a user in that netgroup, you are immediately bumped off the machine. When su'ed into a user in that netgroup from a seperate acccount that is working, you get the following:

teuber:/home# su - noam
-su: nss_nis/nis-netgrp.c:79: _nss_nis_setnetgrent: Assertion `malloc_usable_size (netgrp->data) >= len + 1' failed.

This problem has been documented on the Debian buglist here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328440

I was just wondering if there is anyone out there that has found a workaround for this particular problem that does not include simply wiping out netgroup restrictions for the time being.


All times are GMT -5. The time now is 08:46 AM.