RE: NIS and initgroups
Thanks but I don't think there's a problem with the group map as it's working with a lot of other machines (hp-ux/solaris/mandrake). I did the "ypcat group" as you suggested on a working machine and it all looked normal. When I did the same thing on the debian machine I got the same thing back, the group map from the nis server! Given that my group line is "group: files" surely this shouldn't be happening?
I checked the gids as well and there all very low numbers. Any suggestions?
Thanks,
Paul Bristow.
-----Original Message-----
From: miquels@cistron-office.nl [mailto:miquels@cistron-office.nl]
Sent: 04 October 2001 12:04
To: debian-user@lists.debian.org
Subject: Re: NIS and initgroups
In article <[🔎] 99695890041DD4118D2F00D0B748B0A60478A720@zuk02exm01.comm.mot.com>,
Bristow Paul-BPB007 <Paul.C.Bristow@motorola.com> wrote:
>Hi,
> I've recently installed debian on a spare PC at work and I'm having
>real problems getting NIS to work properly with groups. I'd appreciate
>any advice on the following problem.
>After installation I set up NIS using the nsswitch.conf file, the
>relevant lines are as follows.
>
>passwd: files nis
>shadow: files
>group: files nis
>
>After doing this I was unable to log in as root! Whenever I tried I got
>an error message
>initgroups invalid argument
Sounds like there is a (syntax?) error in the NIS groups map.
Use 'ypcat groups' and see if you can find something obvious.
Maybe you have groups with gids > 65535? That isn't supported by
Linux unless you install a 2.4 kernel and glibc >= 2.2.
Mike.
--
Move sig.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: