I'm having some trouble with NIS and could use some assistance. I've
exhausted my resources for help locally, and couldn't find anything in
the FAQ. I have a feeling that what I've got is just a simple
configuration problem.
I'm using NIS on a 9.01 system with a single master server and 2
clients. All operations work without flaw on each machine, including
password, and host file mappings. Using any of the yp commands on
either of the clients (i.e, ypcat) gives accurate results, and users
experience no problems in normal operations. What I'm having trouble
with are supplementary group affiliations in the group file and map. On
the server I have users defined as members of multiple groups with each
group having a distinctive gid. Doing a 'ypcat group' on the clients
shows the correct info, however, if I run 'id <username>' on one of the
NIS clients the only group id that comes back is the default gid (and
groupname, which is only defined on the server) but not the supp.
groups. Using the id command on the server of course comes back with
all the correct groups because everything is defined locally in its
/etc/group file. More importantly than the id problem is the fact that
supp. group priviledges to files and directories do not take effect on
either of the clients, while a long file listing of these files does show
the correct ownership, group, and permissions for the files. Just for the
sake of clarifying things, I will also note that each of the files
group, passwd, etc. are absolutely bare on the clients except for
essential local information and the appropriate NIS '+' token line. I
am also only using a single NIS domain. I'm also confused by the
'groups' command in general, does it not support NIS? On either of the
clients doing a 'groups <username>' comes back with a blank line.
Thanks for any help,
Chad Robertson