NIS problem in synchronizing groups

NIS problem in synchronizing groups

Post by Arthur Da » Sat, 16 Sep 2000 04:00:00



Hi, everyone, I've one question here regarding synchronizing group
memeberships through NIS on my boxes. One of the users belongs to 3 groups
at the same time, on the ypmaster and several clients they all show up
correctly when you use groups command to check it, but on just one of the
clients groups command only shows the user belonging to his primary group, I
did try make all and similar things but they didn't help, can anybody of you
shed a light on me please? Thank you very much in advance.

Arthur

 
 
 

NIS problem in synchronizing groups

Post by Mario Nigrovi » Sat, 16 Sep 2000 04:00:00


Arthur -

   I'd start by looking at /etc/nsswitch.conf on that one machine; it's
possible that it is not referring to nis for its group information; then
I would maybe try bouncing nscd (/etc/init.d/nscd stop; /etc/init.d/nscd start),
because lots of weird stuff gets cached there (hosts, password, group, I think).

   Also, keep in mind that a session's group ids get set once at login, so
the user will need to log out then in to reestablish his/her groups once you
fix the problem.  (The groups command seems to refer to the actual files/nis
databases rather than the process' information, so until the groups command
correctly reflects the user's setup, logging out/in wouldn't help.)

                                        Mario


> Hi, everyone, I've one question here regarding synchronizing group
> memeberships through NIS on my boxes. One of the users belongs to 3 groups
> at the same time, on the ypmaster and several clients they all show up
> correctly when you use groups command to check it, but on just one of the
> clients groups command only shows the user belonging to his primary group, I
> did try make all and similar things but they didn't help, can anybody of you
> shed a light on me please? Thank you very much in advance.

--
 <|  A crash reduces          |>
  |> Your expensive computer <|


 
 
 

NIS problem in synchronizing groups

Post by Roy » Sat, 16 Sep 2000 04:00:00


Hi,

does ypwhich and "ypwhich -m" return correct infos on that client?

roy



Quote:> Hi, everyone, I've one question here regarding synchronizing group
> memeberships through NIS on my boxes. One of the users belongs to 3 groups
> at the same time, on the ypmaster and several clients they all show up
> correctly when you use groups command to check it, but on just one of the
> clients groups command only shows the user belonging to his primary group,
I
> did try make all and similar things but they didn't help, can anybody of
you
> shed a light on me please? Thank you very much in advance.

> Arthur

 
 
 

1. Groups gone on NIS+, not on NIS

Hi,

We have a NIS+ server servicing a bunch of NIS-clients. On the NIS+
server (and our very few NIS+ clients), it seems like the
group-information is gone, while it exists perfectly all-right on the
NIS clients. The weird thing is, however, that the groups and
passwd-information is defined on the NIS+ server.

If, for example, we have a user called 'abc' and I run the command
'groups abc' on the NIS+ server, I only get 'abc' as output, whereas I
get 'abc, group1, group2' (for all the groups that the user is a member
of) if I run the exact same command on a NIS client being services by
the NIS+ server.

All machines have DES-credentials, and nsswitch.conf is defined to look
up users in nis or nisplus respectively.

Does anyone have any ideas?

Thanks in advance
    Thorfinn

2. Zip Drive Problem

3. synchronize password between 2 machines without using NIS

4. slip & ethernet

5. NIS : auth problem with Linux nis server and SUN sparc nis client

6. formatting/aligning text (awk? printf? huh?)

7. RH6.1: NIS group problem + Kde and gnome strange message

8. ok prompt prefixes

9. problem with groups on HPUX-8 NIS client

10. Problem with NIS+ group

11. Nis group problem with Slackware

12. NIS problem with groups

13. problem with nis groups (debian)