[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.



Reply to: